stopdropandrew_ci_reporter 1.7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +166 -0
- data/LICENSE.txt +21 -0
- data/Manifest.txt +32 -0
- data/README.rdoc +67 -0
- data/Rakefile +120 -0
- data/lib/ci/reporter/core.rb +6 -0
- data/lib/ci/reporter/cucumber.rb +125 -0
- data/lib/ci/reporter/minitest.rb +224 -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/minitest.rb +15 -0
- data/lib/ci/reporter/rake/minitest_loader.rb +9 -0
- data/lib/ci/reporter/rake/rspec.rb +31 -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 +36 -0
- data/lib/ci/reporter/rake/utils.rb +14 -0
- data/lib/ci/reporter/report_manager.rb +63 -0
- data/lib/ci/reporter/rspec.rb +227 -0
- data/lib/ci/reporter/test_suite.rb +156 -0
- data/lib/ci/reporter/test_unit.rb +143 -0
- data/lib/ci/reporter/version.rb +11 -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 +105 -0
- data/spec/ci/reporter/report_manager_spec.rb +62 -0
- data/spec/ci/reporter/rspec_spec.rb +152 -0
- data/spec/ci/reporter/test_suite_spec.rb +160 -0
- data/spec/ci/reporter/test_unit_spec.rb +152 -0
- data/spec/spec_helper.rb +23 -0
- data/stub.rake +15 -0
- data/tasks/ci_reporter.rake +20 -0
- metadata +173 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright (c) 2006-2012 Nick Sieger <nicksieger@gmail.com>
|
2
|
+
# See the file LICENSE.txt included with the distribution for
|
3
|
+
# software license details.
|
4
|
+
|
5
|
+
require 'rubygems'
|
6
|
+
begin
|
7
|
+
require 'rspec'
|
8
|
+
rescue LoadError
|
9
|
+
require 'spec'
|
10
|
+
end
|
11
|
+
|
12
|
+
require 'rspec/autorun' if $0 =~ /rcov$/
|
13
|
+
|
14
|
+
unless defined?(CI_REPORTER_LIB)
|
15
|
+
CI_REPORTER_LIB = File.expand_path(File.dirname(__FILE__) + "/../lib")
|
16
|
+
$: << CI_REPORTER_LIB
|
17
|
+
end
|
18
|
+
|
19
|
+
require 'ci/reporter/core'
|
20
|
+
require 'ci/reporter/test_unit'
|
21
|
+
require 'ci/reporter/rspec'
|
22
|
+
|
23
|
+
REPORTS_DIR = File.dirname(__FILE__) + "/reports" unless defined?(REPORTS_DIR)
|
data/stub.rake
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Copyright (c) 2006-2012 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 File.dirname(__FILE__) + '/lib/ci/reporter/rake/minitest.rb'
|
15
|
+
load 'Rakefile'
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Copyright (c) 2006-2012 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
|
+
require 'ci/reporter/rake/minitest'
|
14
|
+
|
15
|
+
namespace :ci do
|
16
|
+
task :setup_rspec => "ci:setup:rspec"
|
17
|
+
task :setup_cucumber => "ci:setup:cucumber"
|
18
|
+
task :setup_testunit => "ci:setup:testunit"
|
19
|
+
task :setup_minitest => "ci:setup:minitest"
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,173 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: stopdropandrew_ci_reporter
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 101
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 7
|
9
|
+
- 0
|
10
|
+
- 1
|
11
|
+
version: 1.7.0.1
|
12
|
+
platform: ruby
|
13
|
+
authors:
|
14
|
+
- Nick Sieger
|
15
|
+
autorequire:
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2012-01-29 00:00:00 -08: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
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: rubyforge
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 7
|
47
|
+
segments:
|
48
|
+
- 2
|
49
|
+
- 0
|
50
|
+
- 4
|
51
|
+
version: 2.0.4
|
52
|
+
type: :development
|
53
|
+
version_requirements: *id002
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: hoe
|
56
|
+
prerelease: false
|
57
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ~>
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
hash: 27
|
63
|
+
segments:
|
64
|
+
- 2
|
65
|
+
- 12
|
66
|
+
version: "2.12"
|
67
|
+
type: :development
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rdoc
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 19
|
78
|
+
segments:
|
79
|
+
- 3
|
80
|
+
- 10
|
81
|
+
version: "3.10"
|
82
|
+
type: :development
|
83
|
+
version_requirements: *id004
|
84
|
+
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.
|
85
|
+
email: nick@nicksieger.com
|
86
|
+
executables: []
|
87
|
+
|
88
|
+
extensions: []
|
89
|
+
|
90
|
+
extra_rdoc_files:
|
91
|
+
- History.txt
|
92
|
+
- LICENSE.txt
|
93
|
+
- Manifest.txt
|
94
|
+
- README.rdoc
|
95
|
+
files:
|
96
|
+
- History.txt
|
97
|
+
- Manifest.txt
|
98
|
+
- README.rdoc
|
99
|
+
- LICENSE.txt
|
100
|
+
- Rakefile
|
101
|
+
- stub.rake
|
102
|
+
- lib/ci/reporter/core.rb
|
103
|
+
- lib/ci/reporter/cucumber.rb
|
104
|
+
- lib/ci/reporter/minitest.rb
|
105
|
+
- lib/ci/reporter/rake/cucumber.rb
|
106
|
+
- lib/ci/reporter/rake/cucumber_loader.rb
|
107
|
+
- lib/ci/reporter/rake/minitest.rb
|
108
|
+
- lib/ci/reporter/rake/minitest_loader.rb
|
109
|
+
- lib/ci/reporter/rake/rspec.rb
|
110
|
+
- lib/ci/reporter/rake/rspec_loader.rb
|
111
|
+
- lib/ci/reporter/rake/test_unit.rb
|
112
|
+
- lib/ci/reporter/rake/test_unit_loader.rb
|
113
|
+
- lib/ci/reporter/rake/utils.rb
|
114
|
+
- lib/ci/reporter/report_manager.rb
|
115
|
+
- lib/ci/reporter/rspec.rb
|
116
|
+
- lib/ci/reporter/test_suite.rb
|
117
|
+
- lib/ci/reporter/test_unit.rb
|
118
|
+
- lib/ci/reporter/version.rb
|
119
|
+
- spec/ci/reporter/cucumber_spec.rb
|
120
|
+
- spec/ci/reporter/output_capture_spec.rb
|
121
|
+
- spec/ci/reporter/rake/rake_tasks_spec.rb
|
122
|
+
- spec/ci/reporter/report_manager_spec.rb
|
123
|
+
- spec/ci/reporter/rspec_spec.rb
|
124
|
+
- spec/ci/reporter/test_suite_spec.rb
|
125
|
+
- spec/ci/reporter/test_unit_spec.rb
|
126
|
+
- spec/spec_helper.rb
|
127
|
+
- tasks/ci_reporter.rake
|
128
|
+
has_rdoc: true
|
129
|
+
homepage: http://caldersphere.rubyforge.org/ci_reporter
|
130
|
+
licenses: []
|
131
|
+
|
132
|
+
post_install_message:
|
133
|
+
rdoc_options:
|
134
|
+
- --main
|
135
|
+
- README.rdoc
|
136
|
+
- -SHN
|
137
|
+
- -f
|
138
|
+
- darkfish
|
139
|
+
require_paths:
|
140
|
+
- lib
|
141
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
142
|
+
none: false
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
hash: 3
|
147
|
+
segments:
|
148
|
+
- 0
|
149
|
+
version: "0"
|
150
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
|
+
none: false
|
152
|
+
requirements:
|
153
|
+
- - ">="
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
hash: 3
|
156
|
+
segments:
|
157
|
+
- 0
|
158
|
+
version: "0"
|
159
|
+
requirements: []
|
160
|
+
|
161
|
+
rubyforge_project: caldersphere
|
162
|
+
rubygems_version: 1.3.7
|
163
|
+
signing_key:
|
164
|
+
specification_version: 3
|
165
|
+
summary: CI::Reporter allows you to generate reams of XML for use with continuous integration systems.
|
166
|
+
test_files:
|
167
|
+
- spec/ci/reporter/cucumber_spec.rb
|
168
|
+
- spec/ci/reporter/output_capture_spec.rb
|
169
|
+
- spec/ci/reporter/rake/rake_tasks_spec.rb
|
170
|
+
- spec/ci/reporter/report_manager_spec.rb
|
171
|
+
- spec/ci/reporter/rspec_spec.rb
|
172
|
+
- spec/ci/reporter/test_suite_spec.rb
|
173
|
+
- spec/ci/reporter/test_unit_spec.rb
|