rspec_junit_formatter 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -5
- data/lib/rspec/core/formatters/j_unit_formatter.rb +2 -0
- metadata +18 -7
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# RSpec JUnit Formatter
|
2
2
|
|
3
|
-
[RSpec][rspec] results that [
|
3
|
+
[RSpec][rspec] results that [Jenkins][jenkins] can read. Probably a few other CI servers, too.
|
4
4
|
|
5
5
|
Inspired by the work of [Diego Souza][dsouza] on [RSpec Formatters][dsouza/rspec_formatters] after frustration with [CI Reporter][ci_reporter].
|
6
6
|
|
@@ -12,17 +12,17 @@ Install the gem:
|
|
12
12
|
|
13
13
|
Use it:
|
14
14
|
|
15
|
-
rspec --format RspecJunitFormatter
|
15
|
+
rspec --format RspecJunitFormatter --out rspec.xml
|
16
16
|
|
17
17
|
You'll get an XML file with your results in it.
|
18
18
|
|
19
19
|
## More Permanent Usage
|
20
20
|
|
21
|
-
Add it to your Gemfile if you're using [Bundler][bundler].
|
21
|
+
Add it to your Gemfile if you're using [Bundler][bundler]. Put it in the same groups as rspec.
|
22
22
|
|
23
23
|
In your .rspec, usually alongside another formatter, add:
|
24
24
|
|
25
|
-
--format
|
25
|
+
--format RspecJunitFormatter
|
26
26
|
--out rspec.xml
|
27
27
|
|
28
28
|
I use it with the excellent [Fuubar formatter][fuubar].
|
@@ -37,7 +37,7 @@ I use it with the excellent [Fuubar formatter][fuubar].
|
|
37
37
|
The MIT License, see [LICENSE][license].
|
38
38
|
|
39
39
|
[rspec]: http://rspec.info/
|
40
|
-
[
|
40
|
+
[jenkins]: http://jenkins-ci.org/
|
41
41
|
[dsouza]: https://github.com/dsouza
|
42
42
|
[dsouza/rspec_formatters]: https://github.com/dsouza/rspec_formatters
|
43
43
|
[ci_reporter]: http://caldersphere.rubyforge.org/ci_reporter/
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec_junit_formatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-10-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '2.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.0'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: builder
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,7 +37,12 @@ dependencies:
|
|
32
37
|
version: '0'
|
33
38
|
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
36
46
|
description: RSpec results that Hudson can read.
|
37
47
|
email:
|
38
48
|
- sj26@sj26.com
|
@@ -64,8 +74,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
74
|
version: 1.3.6
|
65
75
|
requirements: []
|
66
76
|
rubyforge_project:
|
67
|
-
rubygems_version: 1.8.
|
77
|
+
rubygems_version: 1.8.23
|
68
78
|
signing_key:
|
69
79
|
specification_version: 3
|
70
80
|
summary: RSpec JUnit XML formatter
|
71
81
|
test_files: []
|
82
|
+
has_rdoc:
|