ci_reporter 1.6.7 → 1.6.8
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Manifest.txt +7 -7
- data/lib/ci/reporter/test_suite.rb +4 -6
- data/lib/ci/reporter/version.rb +1 -1
- metadata +123 -123
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
@@ -6,6 +6,11 @@ Rakefile
|
|
6
6
|
stub.rake
|
7
7
|
lib/ci/reporter/core.rb
|
8
8
|
lib/ci/reporter/cucumber.rb
|
9
|
+
lib/ci/reporter/report_manager.rb
|
10
|
+
lib/ci/reporter/rspec.rb
|
11
|
+
lib/ci/reporter/test_suite.rb
|
12
|
+
lib/ci/reporter/test_unit.rb
|
13
|
+
lib/ci/reporter/version.rb
|
9
14
|
lib/ci/reporter/rake/cucumber.rb
|
10
15
|
lib/ci/reporter/rake/cucumber_loader.rb
|
11
16
|
lib/ci/reporter/rake/rspec.rb
|
@@ -13,17 +18,12 @@ lib/ci/reporter/rake/rspec_loader.rb
|
|
13
18
|
lib/ci/reporter/rake/test_unit.rb
|
14
19
|
lib/ci/reporter/rake/test_unit_loader.rb
|
15
20
|
lib/ci/reporter/rake/utils.rb
|
16
|
-
|
17
|
-
lib/ci/reporter/rspec.rb
|
18
|
-
lib/ci/reporter/test_suite.rb
|
19
|
-
lib/ci/reporter/test_unit.rb
|
20
|
-
lib/ci/reporter/version.rb
|
21
|
+
spec/spec_helper.rb
|
21
22
|
spec/ci/reporter/cucumber_spec.rb
|
22
23
|
spec/ci/reporter/output_capture_spec.rb
|
23
|
-
spec/ci/reporter/rake/rake_tasks_spec.rb
|
24
24
|
spec/ci/reporter/report_manager_spec.rb
|
25
25
|
spec/ci/reporter/rspec_spec.rb
|
26
26
|
spec/ci/reporter/test_suite_spec.rb
|
27
27
|
spec/ci/reporter/test_unit_spec.rb
|
28
|
-
spec/
|
28
|
+
spec/ci/reporter/rake/rake_tasks_spec.rb
|
29
29
|
tasks/ci_reporter.rake
|
@@ -1,12 +1,10 @@
|
|
1
|
-
# Copyright (c) 2006-
|
1
|
+
# Copyright (c) 2006-2011 Nick Sieger <nicksieger@gmail.com>
|
2
2
|
# See the file LICENSE.txt included with the distribution for
|
3
3
|
# software license details.
|
4
4
|
|
5
5
|
require 'delegate'
|
6
6
|
require 'stringio'
|
7
7
|
|
8
|
-
require 'ci/reporter/test_unit'
|
9
|
-
|
10
8
|
module CI
|
11
9
|
module Reporter
|
12
10
|
# Emulates/delegates IO to $stdout or $stderr in order to capture output to report in the XML file.
|
@@ -140,9 +138,9 @@ module CI
|
|
140
138
|
builder.skipped
|
141
139
|
else
|
142
140
|
failures.each do |failure|
|
143
|
-
tag = case failure
|
144
|
-
when TestUnitSkipped then :skipped
|
145
|
-
when TestUnitError then :error
|
141
|
+
tag = case failure.class.name
|
142
|
+
when /TestUnitSkipped/ then :skipped
|
143
|
+
when /TestUnitError/ then :error
|
146
144
|
else :failure end
|
147
145
|
|
148
146
|
builder.tag!(tag, :type => builder.trunc!(failure.name), :message => builder.trunc!(failure.message)) do
|
data/lib/ci/reporter/version.rb
CHANGED
metadata
CHANGED
@@ -1,141 +1,141 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ci_reporter
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.7
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 1.6.8
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
- Nick Sieger
|
7
|
+
authors:
|
8
|
+
- Nick Sieger
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
files can be read by a continuous integration system that understands Ant's JUnit
|
61
|
-
report XML format, thus allowing your CI system to track test/spec successes and
|
62
|
-
failures.
|
12
|
+
|
13
|
+
date: 2011-12-14 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: builder
|
17
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.1.2
|
23
|
+
requirement: *id001
|
24
|
+
prerelease: false
|
25
|
+
type: :runtime
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rubyforge
|
28
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.0.4
|
34
|
+
requirement: *id002
|
35
|
+
prerelease: false
|
36
|
+
type: :development
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: hoe
|
39
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: "2.12"
|
45
|
+
requirement: *id003
|
46
|
+
prerelease: false
|
47
|
+
type: :development
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rdoc
|
50
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ~>
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: "3.10"
|
56
|
+
requirement: *id004
|
57
|
+
prerelease: false
|
58
|
+
type: :development
|
59
|
+
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.
|
63
60
|
email: nick@nicksieger.com
|
64
61
|
executables: []
|
62
|
+
|
65
63
|
extensions: []
|
66
|
-
|
67
|
-
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
|
72
|
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
- lib/ci/reporter/
|
80
|
-
- lib/ci/reporter/
|
81
|
-
- lib/ci/reporter/
|
82
|
-
- lib/ci/reporter/
|
83
|
-
- lib/ci/reporter/
|
84
|
-
- lib/ci/reporter/
|
85
|
-
- lib/ci/reporter/
|
86
|
-
- lib/ci/reporter/rake/
|
87
|
-
- lib/ci/reporter/
|
88
|
-
- lib/ci/reporter/rspec.rb
|
89
|
-
- lib/ci/reporter/
|
90
|
-
- lib/ci/reporter/test_unit.rb
|
91
|
-
- lib/ci/reporter/
|
92
|
-
-
|
93
|
-
- spec/
|
94
|
-
- spec/ci/reporter/
|
95
|
-
- spec/ci/reporter/
|
96
|
-
- spec/ci/reporter/
|
97
|
-
- spec/ci/reporter/
|
98
|
-
- spec/ci/reporter/
|
99
|
-
- spec/
|
100
|
-
-
|
64
|
+
|
65
|
+
extra_rdoc_files:
|
66
|
+
- History.txt
|
67
|
+
- Manifest.txt
|
68
|
+
- LICENSE.txt
|
69
|
+
- README.rdoc
|
70
|
+
files:
|
71
|
+
- History.txt
|
72
|
+
- Manifest.txt
|
73
|
+
- README.rdoc
|
74
|
+
- LICENSE.txt
|
75
|
+
- Rakefile
|
76
|
+
- stub.rake
|
77
|
+
- lib/ci/reporter/core.rb
|
78
|
+
- lib/ci/reporter/cucumber.rb
|
79
|
+
- lib/ci/reporter/report_manager.rb
|
80
|
+
- lib/ci/reporter/rspec.rb
|
81
|
+
- lib/ci/reporter/test_suite.rb
|
82
|
+
- lib/ci/reporter/test_unit.rb
|
83
|
+
- lib/ci/reporter/version.rb
|
84
|
+
- lib/ci/reporter/rake/cucumber.rb
|
85
|
+
- lib/ci/reporter/rake/cucumber_loader.rb
|
86
|
+
- lib/ci/reporter/rake/rspec.rb
|
87
|
+
- lib/ci/reporter/rake/rspec_loader.rb
|
88
|
+
- lib/ci/reporter/rake/test_unit.rb
|
89
|
+
- lib/ci/reporter/rake/test_unit_loader.rb
|
90
|
+
- lib/ci/reporter/rake/utils.rb
|
91
|
+
- spec/spec_helper.rb
|
92
|
+
- spec/ci/reporter/cucumber_spec.rb
|
93
|
+
- spec/ci/reporter/output_capture_spec.rb
|
94
|
+
- spec/ci/reporter/report_manager_spec.rb
|
95
|
+
- spec/ci/reporter/rspec_spec.rb
|
96
|
+
- spec/ci/reporter/test_suite_spec.rb
|
97
|
+
- spec/ci/reporter/test_unit_spec.rb
|
98
|
+
- spec/ci/reporter/rake/rake_tasks_spec.rb
|
99
|
+
- tasks/ci_reporter.rake
|
101
100
|
homepage: http://caldersphere.rubyforge.org/ci_reporter
|
102
101
|
licenses: []
|
102
|
+
|
103
103
|
post_install_message:
|
104
|
-
rdoc_options:
|
105
|
-
- --main
|
106
|
-
- README.rdoc
|
107
|
-
- -SHN
|
108
|
-
- -f
|
109
|
-
- darkfish
|
110
|
-
require_paths:
|
111
|
-
- lib
|
112
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
+
rdoc_options:
|
105
|
+
- --main
|
106
|
+
- README.rdoc
|
107
|
+
- -SHN
|
108
|
+
- -f
|
109
|
+
- darkfish
|
110
|
+
require_paths:
|
111
|
+
- lib
|
112
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
113
113
|
none: false
|
114
|
-
requirements:
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
hash: 2
|
118
|
+
segments:
|
119
|
+
- 0
|
120
|
+
version: "0"
|
121
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
122
|
none: false
|
123
|
-
requirements:
|
124
|
-
|
125
|
-
|
126
|
-
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: "0"
|
127
127
|
requirements: []
|
128
|
+
|
128
129
|
rubyforge_project: caldersphere
|
129
|
-
rubygems_version: 1.8.
|
130
|
+
rubygems_version: 1.8.9
|
130
131
|
signing_key:
|
131
132
|
specification_version: 3
|
132
|
-
summary: CI::Reporter allows you to generate reams of XML for use with continuous
|
133
|
-
|
134
|
-
|
135
|
-
- spec/ci/reporter/
|
136
|
-
- spec/ci/reporter/
|
137
|
-
- spec/ci/reporter/
|
138
|
-
- spec/ci/reporter/
|
139
|
-
- spec/ci/reporter/
|
140
|
-
- spec/ci/reporter/
|
141
|
-
- spec/ci/reporter/test_unit_spec.rb
|
133
|
+
summary: CI::Reporter allows you to generate reams of XML for use with continuous integration systems.
|
134
|
+
test_files:
|
135
|
+
- spec/ci/reporter/cucumber_spec.rb
|
136
|
+
- spec/ci/reporter/output_capture_spec.rb
|
137
|
+
- spec/ci/reporter/report_manager_spec.rb
|
138
|
+
- spec/ci/reporter/rspec_spec.rb
|
139
|
+
- spec/ci/reporter/test_suite_spec.rb
|
140
|
+
- spec/ci/reporter/test_unit_spec.rb
|
141
|
+
- spec/ci/reporter/rake/rake_tasks_spec.rb
|