finnlabs-ci_reporter 1.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +136 -0
 - data/LICENSE.txt +21 -0
 - data/Manifest.txt +29 -0
 - data/README.txt +65 -0
 - data/Rakefile +101 -0
 - data/lib/ci/reporter/core.rb +6 -0
 - data/lib/ci/reporter/cucumber.rb +120 -0
 - data/lib/ci/reporter/rake/cucumber.rb +19 -0
 - data/lib/ci/reporter/rake/cucumber_loader.rb +6 -0
 - data/lib/ci/reporter/rake/rspec.rb +25 -0
 - data/lib/ci/reporter/rake/rspec_loader.rb +6 -0
 - data/lib/ci/reporter/rake/test_unit.rb +15 -0
 - data/lib/ci/reporter/rake/test_unit_loader.rb +21 -0
 - data/lib/ci/reporter/rake/utils.rb +14 -0
 - data/lib/ci/reporter/report_manager.rb +34 -0
 - data/lib/ci/reporter/rspec.rb +189 -0
 - data/lib/ci/reporter/test_suite.rb +151 -0
 - data/lib/ci/reporter/test_unit.rb +132 -0
 - data/lib/ci/reporter/version.rb +5 -0
 - data/spec/ci/reporter/cucumber_spec.rb +230 -0
 - data/spec/ci/reporter/output_capture_spec.rb +57 -0
 - data/spec/ci/reporter/rake/rake_tasks_spec.rb +100 -0
 - data/spec/ci/reporter/report_manager_spec.rb +51 -0
 - data/spec/ci/reporter/rspec_spec.rb +146 -0
 - data/spec/ci/reporter/test_suite_spec.rb +151 -0
 - data/spec/ci/reporter/test_unit_spec.rb +152 -0
 - data/spec/spec_helper.rb +21 -0
 - data/stub.rake +14 -0
 - data/tasks/ci_reporter.rake +18 -0
 - metadata +124 -0
 
    
        data/stub.rake
    ADDED
    
    | 
         @@ -0,0 +1,14 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Copyright (c) 2006-2010 Nick Sieger <nicksieger@gmail.com>
         
     | 
| 
      
 2 
     | 
    
         
            +
            # See the file LICENSE.txt included with the distribution for
         
     | 
| 
      
 3 
     | 
    
         
            +
            # software license details.
         
     | 
| 
      
 4 
     | 
    
         
            +
            #
         
     | 
| 
      
 5 
     | 
    
         
            +
            # Use this stub rakefile as a wrapper around a regular Rakefile.  Run in the 
         
     | 
| 
      
 6 
     | 
    
         
            +
            # same directory as the real Rakefile.
         
     | 
| 
      
 7 
     | 
    
         
            +
            #
         
     | 
| 
      
 8 
     | 
    
         
            +
            #   rake -f /path/to/ci_reporter/lib/ci/reporter/rake/stub.rake ci:setup:rspec default
         
     | 
| 
      
 9 
     | 
    
         
            +
            #
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            load File.dirname(__FILE__) + '/lib/ci/reporter/rake/rspec.rb'
         
     | 
| 
      
 12 
     | 
    
         
            +
            load File.dirname(__FILE__) + '/lib/ci/reporter/rake/cucumber.rb'
         
     | 
| 
      
 13 
     | 
    
         
            +
            load File.dirname(__FILE__) + '/lib/ci/reporter/rake/test_unit.rb'
         
     | 
| 
      
 14 
     | 
    
         
            +
            load 'Rakefile'
         
     | 
| 
         @@ -0,0 +1,18 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Copyright (c) 2006-2010 Nick Sieger <nicksieger@gmail.com>
         
     | 
| 
      
 2 
     | 
    
         
            +
            # See the file LICENSE.txt included with the distribution for
         
     | 
| 
      
 3 
     | 
    
         
            +
            # software license details.
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            begin
         
     | 
| 
      
 6 
     | 
    
         
            +
              gem 'ci_reporter'
         
     | 
| 
      
 7 
     | 
    
         
            +
            rescue Gem::LoadError
         
     | 
| 
      
 8 
     | 
    
         
            +
              $: << File.dirname(__FILE__) + "/../lib"
         
     | 
| 
      
 9 
     | 
    
         
            +
            end
         
     | 
| 
      
 10 
     | 
    
         
            +
            require 'ci/reporter/rake/rspec'
         
     | 
| 
      
 11 
     | 
    
         
            +
            require 'ci/reporter/rake/cucumber'
         
     | 
| 
      
 12 
     | 
    
         
            +
            require 'ci/reporter/rake/test_unit'
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            namespace :ci do
         
     | 
| 
      
 15 
     | 
    
         
            +
              task :setup_rspec => "ci:setup:rspec"
         
     | 
| 
      
 16 
     | 
    
         
            +
              task :setup_cucumber => "ci:setup:cucumber"
         
     | 
| 
      
 17 
     | 
    
         
            +
              task :setup_testunit => "ci:setup:testunit"
         
     | 
| 
      
 18 
     | 
    
         
            +
            end
         
     | 
    
        metadata
    ADDED
    
    | 
         @@ -0,0 +1,124 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification 
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: finnlabs-ci_reporter
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version 
         
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 5
         
     | 
| 
      
 5 
     | 
    
         
            +
              prerelease: 
         
     | 
| 
      
 6 
     | 
    
         
            +
              segments: 
         
     | 
| 
      
 7 
     | 
    
         
            +
              - 1
         
     | 
| 
      
 8 
     | 
    
         
            +
              - 6
         
     | 
| 
      
 9 
     | 
    
         
            +
              - 5
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 1.6.5
         
     | 
| 
      
 11 
     | 
    
         
            +
            platform: ruby
         
     | 
| 
      
 12 
     | 
    
         
            +
            authors: 
         
     | 
| 
      
 13 
     | 
    
         
            +
            - Nick Sieger
         
     | 
| 
      
 14 
     | 
    
         
            +
            - Gregor Schmidt
         
     | 
| 
      
 15 
     | 
    
         
            +
            autorequire: 
         
     | 
| 
      
 16 
     | 
    
         
            +
            bindir: bin
         
     | 
| 
      
 17 
     | 
    
         
            +
            cert_chain: []
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            date: 2011-02-10 00:00:00 +01:00
         
     | 
| 
      
 20 
     | 
    
         
            +
            default_executable: 
         
     | 
| 
      
 21 
     | 
    
         
            +
            dependencies: 
         
     | 
| 
      
 22 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency 
         
     | 
| 
      
 23 
     | 
    
         
            +
              name: builder
         
     | 
| 
      
 24 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 25 
     | 
    
         
            +
              requirement: &id001 !ruby/object:Gem::Requirement 
         
     | 
| 
      
 26 
     | 
    
         
            +
                none: false
         
     | 
| 
      
 27 
     | 
    
         
            +
                requirements: 
         
     | 
| 
      
 28 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 29 
     | 
    
         
            +
                  - !ruby/object:Gem::Version 
         
     | 
| 
      
 30 
     | 
    
         
            +
                    hash: 15
         
     | 
| 
      
 31 
     | 
    
         
            +
                    segments: 
         
     | 
| 
      
 32 
     | 
    
         
            +
                    - 2
         
     | 
| 
      
 33 
     | 
    
         
            +
                    - 1
         
     | 
| 
      
 34 
     | 
    
         
            +
                    - 2
         
     | 
| 
      
 35 
     | 
    
         
            +
                    version: 2.1.2
         
     | 
| 
      
 36 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 37 
     | 
    
         
            +
              version_requirements: *id001
         
     | 
| 
      
 38 
     | 
    
         
            +
            description: CI::Reporter is an add-on to Test::Unit, RSpec and Cucumber that allows you to generate XML reports of your test, spec and/or feature runs. The resulting files can be read by a continuous integration system that understands Ant's JUnit report XML format, thus allowing your CI system to track test/spec successes and failures.
         
     | 
| 
      
 39 
     | 
    
         
            +
            email: ruby@schmidtwisser.de
         
     | 
| 
      
 40 
     | 
    
         
            +
            executables: []
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
            extensions: []
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
            extra_rdoc_files: 
         
     | 
| 
      
 45 
     | 
    
         
            +
            - History.txt
         
     | 
| 
      
 46 
     | 
    
         
            +
            - Manifest.txt
         
     | 
| 
      
 47 
     | 
    
         
            +
            - README.txt
         
     | 
| 
      
 48 
     | 
    
         
            +
            - LICENSE.txt
         
     | 
| 
      
 49 
     | 
    
         
            +
            files: 
         
     | 
| 
      
 50 
     | 
    
         
            +
            - History.txt
         
     | 
| 
      
 51 
     | 
    
         
            +
            - Manifest.txt
         
     | 
| 
      
 52 
     | 
    
         
            +
            - README.txt
         
     | 
| 
      
 53 
     | 
    
         
            +
            - LICENSE.txt
         
     | 
| 
      
 54 
     | 
    
         
            +
            - Rakefile
         
     | 
| 
      
 55 
     | 
    
         
            +
            - stub.rake
         
     | 
| 
      
 56 
     | 
    
         
            +
            - lib/ci/reporter/core.rb
         
     | 
| 
      
 57 
     | 
    
         
            +
            - lib/ci/reporter/cucumber.rb
         
     | 
| 
      
 58 
     | 
    
         
            +
            - lib/ci/reporter/rake/cucumber.rb
         
     | 
| 
      
 59 
     | 
    
         
            +
            - lib/ci/reporter/rake/cucumber_loader.rb
         
     | 
| 
      
 60 
     | 
    
         
            +
            - lib/ci/reporter/rake/rspec.rb
         
     | 
| 
      
 61 
     | 
    
         
            +
            - lib/ci/reporter/rake/rspec_loader.rb
         
     | 
| 
      
 62 
     | 
    
         
            +
            - lib/ci/reporter/rake/test_unit.rb
         
     | 
| 
      
 63 
     | 
    
         
            +
            - lib/ci/reporter/rake/test_unit_loader.rb
         
     | 
| 
      
 64 
     | 
    
         
            +
            - lib/ci/reporter/rake/utils.rb
         
     | 
| 
      
 65 
     | 
    
         
            +
            - lib/ci/reporter/report_manager.rb
         
     | 
| 
      
 66 
     | 
    
         
            +
            - lib/ci/reporter/rspec.rb
         
     | 
| 
      
 67 
     | 
    
         
            +
            - lib/ci/reporter/test_suite.rb
         
     | 
| 
      
 68 
     | 
    
         
            +
            - lib/ci/reporter/test_unit.rb
         
     | 
| 
      
 69 
     | 
    
         
            +
            - lib/ci/reporter/version.rb
         
     | 
| 
      
 70 
     | 
    
         
            +
            - spec/ci/reporter/cucumber_spec.rb
         
     | 
| 
      
 71 
     | 
    
         
            +
            - spec/ci/reporter/output_capture_spec.rb
         
     | 
| 
      
 72 
     | 
    
         
            +
            - spec/ci/reporter/rake/rake_tasks_spec.rb
         
     | 
| 
      
 73 
     | 
    
         
            +
            - spec/ci/reporter/report_manager_spec.rb
         
     | 
| 
      
 74 
     | 
    
         
            +
            - spec/ci/reporter/rspec_spec.rb
         
     | 
| 
      
 75 
     | 
    
         
            +
            - spec/ci/reporter/test_suite_spec.rb
         
     | 
| 
      
 76 
     | 
    
         
            +
            - spec/ci/reporter/test_unit_spec.rb
         
     | 
| 
      
 77 
     | 
    
         
            +
            - spec/spec_helper.rb
         
     | 
| 
      
 78 
     | 
    
         
            +
            - tasks/ci_reporter.rake
         
     | 
| 
      
 79 
     | 
    
         
            +
            has_rdoc: true
         
     | 
| 
      
 80 
     | 
    
         
            +
            homepage: https://github.com/finnlabs/ci_reporter
         
     | 
| 
      
 81 
     | 
    
         
            +
            licenses: []
         
     | 
| 
      
 82 
     | 
    
         
            +
             
     | 
| 
      
 83 
     | 
    
         
            +
            post_install_message: 
         
     | 
| 
      
 84 
     | 
    
         
            +
            rdoc_options: 
         
     | 
| 
      
 85 
     | 
    
         
            +
            - --main
         
     | 
| 
      
 86 
     | 
    
         
            +
            - README.txt
         
     | 
| 
      
 87 
     | 
    
         
            +
            - -SHN
         
     | 
| 
      
 88 
     | 
    
         
            +
            - -f
         
     | 
| 
      
 89 
     | 
    
         
            +
            - darkfish
         
     | 
| 
      
 90 
     | 
    
         
            +
            require_paths: 
         
     | 
| 
      
 91 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 92 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 93 
     | 
    
         
            +
              none: false
         
     | 
| 
      
 94 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 95 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 96 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 97 
     | 
    
         
            +
                  hash: 3
         
     | 
| 
      
 98 
     | 
    
         
            +
                  segments: 
         
     | 
| 
      
 99 
     | 
    
         
            +
                  - 0
         
     | 
| 
      
 100 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 101 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 102 
     | 
    
         
            +
              none: false
         
     | 
| 
      
 103 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 104 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 105 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 106 
     | 
    
         
            +
                  hash: 3
         
     | 
| 
      
 107 
     | 
    
         
            +
                  segments: 
         
     | 
| 
      
 108 
     | 
    
         
            +
                  - 0
         
     | 
| 
      
 109 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 110 
     | 
    
         
            +
            requirements: []
         
     | 
| 
      
 111 
     | 
    
         
            +
             
     | 
| 
      
 112 
     | 
    
         
            +
            rubyforge_project: finnlabs-ci_reporter
         
     | 
| 
      
 113 
     | 
    
         
            +
            rubygems_version: 1.4.2
         
     | 
| 
      
 114 
     | 
    
         
            +
            signing_key: 
         
     | 
| 
      
 115 
     | 
    
         
            +
            specification_version: 3
         
     | 
| 
      
 116 
     | 
    
         
            +
            summary: CI::Reporter allows you to generate reams of XML for use with continuous integration systems.
         
     | 
| 
      
 117 
     | 
    
         
            +
            test_files: 
         
     | 
| 
      
 118 
     | 
    
         
            +
            - spec/ci/reporter/cucumber_spec.rb
         
     | 
| 
      
 119 
     | 
    
         
            +
            - spec/ci/reporter/output_capture_spec.rb
         
     | 
| 
      
 120 
     | 
    
         
            +
            - spec/ci/reporter/rake/rake_tasks_spec.rb
         
     | 
| 
      
 121 
     | 
    
         
            +
            - spec/ci/reporter/report_manager_spec.rb
         
     | 
| 
      
 122 
     | 
    
         
            +
            - spec/ci/reporter/rspec_spec.rb
         
     | 
| 
      
 123 
     | 
    
         
            +
            - spec/ci/reporter/test_suite_spec.rb
         
     | 
| 
      
 124 
     | 
    
         
            +
            - spec/ci/reporter/test_unit_spec.rb
         
     |