rspec_junit 3.0.2 → 3.0.3
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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rspec +5 -2
- data/.travis.yml +1 -0
- data/Gemfile +1 -0
- data/Thorfile +6 -0
- data/bin/rspec_junit_split +14 -0
- data/features/support/env.rb +2 -9
- data/lib/rspec_junit/merged_xml.rb +42 -0
- data/lib/rspec_junit/version.rb +1 -1
- data/rspec_junit.gemspec +4 -2
- data/spec/fake_foreach_patch.rb +23 -0
- data/spec/formatter_conformity_spec.rb +2 -0
- data/spec/merged_xml_spec.rb +61 -0
- data/spec/spec_helper.rb +2 -1
- data/spec/start_coverage.rb +6 -0
- data/spec/xml/merged_xml.xml +185 -0
- metadata +57 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 438603445030cb63875f102322c94f391eedb590
|
4
|
+
data.tar.gz: b53694363ec0b8a6702347fde9061ac8ba6ba9c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ab5823f87d44de4f921de756bfff8f09cdb32310dfbc602fb8c9a2b5ddecbb20902c553bc7e933b58bfa7747e8403b065fcce29dea7eaf9df3120d3e5352941
|
7
|
+
data.tar.gz: d3396364f0670a7b9dc5b430a4eb958818a65beee968ff355e0f08fbac814f0e9e236efadecc77126c2b0d226a01de36c619df388ef46d9d74107e74fe853d22
|
data/.gitignore
CHANGED
data/.rspec
CHANGED
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Thorfile
CHANGED
@@ -23,6 +23,12 @@ class ::Default < Thor
|
|
23
23
|
exec 'bundle exec cucumber -f progress'
|
24
24
|
end
|
25
25
|
|
26
|
+
desc 'cover', 'Push coverage results to coveralls'
|
27
|
+
def cover
|
28
|
+
require 'coveralls'
|
29
|
+
Coveralls.push!
|
30
|
+
end
|
31
|
+
|
26
32
|
# so many errors.
|
27
33
|
desc 'cop', 'Execute rubocop'
|
28
34
|
def cop
|
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
#
|
4
|
+
# Split merged.xml into individual xml files then delete the merged xml.
|
5
|
+
#
|
6
|
+
|
7
|
+
require_relative '../lib/rspec_junit/merged_xml'
|
8
|
+
|
9
|
+
fail 'Usage: rspec_junit_split path/to/merged.xml' unless ARGV.length == 1
|
10
|
+
file = ARGV.first
|
11
|
+
fail "Invalid path to file: #{file}" unless File.exist?(file) && File.file?(file)
|
12
|
+
|
13
|
+
RspecJunit::MergedXml.new(file).split
|
14
|
+
File.delete file if File.exist?(file)
|
data/features/support/env.rb
CHANGED
@@ -1,12 +1,5 @@
|
|
1
|
-
|
2
|
-
require 'coveralls'
|
3
|
-
|
4
|
-
# Omit coveralls formatter since we're merging suite results via a Rake task
|
5
|
-
# https://coveralls.zendesk.com/hc/en-us/articles/201769485-Ruby-Rails
|
6
|
-
SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter]
|
7
|
-
|
8
|
-
SimpleCov.start { add_filter 'spec/' }
|
1
|
+
require_relative '../../spec/start_coverage'
|
9
2
|
|
10
3
|
require 'aruba/cucumber'
|
11
4
|
require 'nokogiri'
|
12
|
-
|
5
|
+
require_relative '../../lib/rspec_junit'
|
@@ -0,0 +1,42 @@
|
|
1
|
+
module RspecJunit
|
2
|
+
class MergedXml
|
3
|
+
attr_reader :xml_path, :base_path
|
4
|
+
|
5
|
+
def initialize(xml_path)
|
6
|
+
fail "Invalid path to xml file: #{xml_path}" unless File.file?(xml_path)
|
7
|
+
@xml_path = xml_path
|
8
|
+
@base_path = File.dirname xml_path
|
9
|
+
reset
|
10
|
+
end
|
11
|
+
|
12
|
+
def split
|
13
|
+
reset
|
14
|
+
|
15
|
+
File.foreach(xml_path) do |line|
|
16
|
+
if line.match XML_START
|
17
|
+
dump_file unless xml_count == 0
|
18
|
+
@data = ''
|
19
|
+
@xml_count += 1
|
20
|
+
end
|
21
|
+
|
22
|
+
@data += "#{line}"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
private
|
27
|
+
|
28
|
+
XML_START = /^#{Regexp.escape('<?xml version="1.0" encoding="UTF-8"?>')}$/
|
29
|
+
|
30
|
+
attr_reader :xml_count, :data
|
31
|
+
|
32
|
+
def reset
|
33
|
+
@xml_count = 0
|
34
|
+
@data = ''
|
35
|
+
end
|
36
|
+
|
37
|
+
def dump_file
|
38
|
+
file_name = File.join(base_path, "junit_#{xml_count}.xml")
|
39
|
+
File.open(file_name, 'w') { |f| f.write data }
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
data/lib/rspec_junit/version.rb
CHANGED
data/rspec_junit.gemspec
CHANGED
@@ -17,13 +17,15 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.add_runtime_dependency('rspec', '>= 3.3.0')
|
18
18
|
gem.add_runtime_dependency('builder', '>= 3.2.2')
|
19
19
|
|
20
|
-
|
20
|
+
gem.add_development_dependency('pry', '~> 0.10.2')
|
21
|
+
gem.add_development_dependency('fakefs', '~> 0.6.7')
|
21
22
|
gem.add_development_dependency('rubocop', '~> 0.34.2')
|
22
23
|
gem.add_development_dependency('appium_thor', '~> 1.0.1')
|
23
24
|
gem.add_development_dependency('nokogiri', '~> 1.6.6.2') # for Ruby 1.8.7
|
24
25
|
gem.add_development_dependency('cucumber', '~> 1.3.16')
|
25
26
|
gem.add_development_dependency('aruba', '~> 0.6.0')
|
26
|
-
gem.add_development_dependency('
|
27
|
+
gem.add_development_dependency('simplecov', '~> 0.10.0')
|
28
|
+
gem.add_development_dependency('coveralls', '~> 0.8.3')
|
27
29
|
gem.add_development_dependency('reek', ['= 1.3.7']) # for Ruby 1.8.7
|
28
30
|
gem.add_development_dependency('rainbow', '~> 1.99.2') # for Ruby 1.8.7
|
29
31
|
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'fakefs/safe'
|
2
|
+
require 'fakefs/file'
|
3
|
+
|
4
|
+
# adds foreach support to fakefs
|
5
|
+
# code from: https://github.com/defunkt/fakefs/pull/294
|
6
|
+
module FakeFS
|
7
|
+
# FakeFS File class inherit StringIO
|
8
|
+
class File < StringIO
|
9
|
+
def self.foreach(path, *args, &block)
|
10
|
+
file = new(path)
|
11
|
+
if file.exists?
|
12
|
+
FileSystem.find(path).atime = Time.now
|
13
|
+
if block_given?
|
14
|
+
file.each_line(*args, &block)
|
15
|
+
else
|
16
|
+
file.each_line(*args)
|
17
|
+
end
|
18
|
+
else
|
19
|
+
fail Errno::ENOENT
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require_relative 'spec_helper'
|
2
|
+
require_relative '../lib/rspec_junit/merged_xml'
|
3
|
+
require_relative 'fake_foreach_patch'
|
4
|
+
|
5
|
+
module RspecJunit
|
6
|
+
describe MergedXml do
|
7
|
+
|
8
|
+
# -- Helper code
|
9
|
+
|
10
|
+
def list_files_in_fakefs
|
11
|
+
root = FakeFS::FileSystem.fs
|
12
|
+
dirs = FakeFS::FileSystem.send(:directories_under, root)
|
13
|
+
all_files = dirs.flatten.map(&:entries).flatten.reject { |d| d.class == FakeFS::FakeDir }
|
14
|
+
all_files
|
15
|
+
end
|
16
|
+
|
17
|
+
def merged_xml_file
|
18
|
+
@merged_xml_file ||= File.expand_path(File.join(__dir__, 'xml', 'merged_xml.xml'))
|
19
|
+
end
|
20
|
+
|
21
|
+
def expected_files
|
22
|
+
return @expected_files if @expected_files
|
23
|
+
@expected_files = []
|
24
|
+
base_dir = File.dirname merged_xml_file
|
25
|
+
1.upto(19) { |i| @expected_files << File.join(base_dir, "junit_#{i}.xml") }
|
26
|
+
@expected_files
|
27
|
+
end
|
28
|
+
|
29
|
+
before(:all) do
|
30
|
+
FakeFS.activate!
|
31
|
+
# Read xml data from real FS and use it to populate the fake file system
|
32
|
+
fake_file = FakeFS::FakeFile.new
|
33
|
+
fake_file.content = FakeFS.without { File.read merged_xml_file }
|
34
|
+
|
35
|
+
FakeFS::FileSystem.add(merged_xml_file, fake_file)
|
36
|
+
end
|
37
|
+
|
38
|
+
after(:all) { FakeFS.deactivate! }
|
39
|
+
|
40
|
+
# -- Start testing
|
41
|
+
|
42
|
+
it 'rejects invalid paths' do
|
43
|
+
invalid_path = 'does not exist'
|
44
|
+
expected_error = "Invalid path to xml file: #{invalid_path}"
|
45
|
+
|
46
|
+
expect { MergedXml.new invalid_path }.to raise_error expected_error
|
47
|
+
end
|
48
|
+
|
49
|
+
it 'splits merged xml correctly' do
|
50
|
+
expected_files.each { |file| expect(File.exist?(file)).to eq(false) }
|
51
|
+
|
52
|
+
merged_xml = MergedXml.new merged_xml_file
|
53
|
+
merged_xml.split
|
54
|
+
|
55
|
+
expected_files.each do |file|
|
56
|
+
expect(File.exist?(file)).to eq(true)
|
57
|
+
expect(File.size(file)).to be > 400
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -0,0 +1,185 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="13.316234" timestamp="2015-10-14T12:41:54-04:00">
|
3
|
+
<testsuite location="./spec/sign_in_spec.rb:3" name="Sign in page" tests="1" errors="0" failures="0" skipped="0">
|
4
|
+
<properties/>
|
5
|
+
<testcase name="Sign in page loads successfully Chrome 45 - Windows 8.1" time="13.257916" location="./spec/sign_in_spec.rb:4">
|
6
|
+
</testcase>
|
7
|
+
</testsuite>
|
8
|
+
</testsuites>
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="14.566535" timestamp="2015-10-14T12:41:56-04:00">
|
11
|
+
<testsuite location="./spec/sharing_spec.rb:3" name="Sharing page" tests="1" errors="0" failures="0" skipped="0">
|
12
|
+
<properties/>
|
13
|
+
<testcase name="Sharing page loads successfully Internet explorer 10 - Windows 8" time="14.514622" location="./spec/sharing_spec.rb:4">
|
14
|
+
</testcase>
|
15
|
+
</testsuite>
|
16
|
+
</testsuites>
|
17
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
18
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="15.865658" timestamp="2015-10-14T12:41:57-04:00">
|
19
|
+
<testsuite location="./spec/sharing_spec.rb:3" name="Sharing page" tests="1" errors="0" failures="0" skipped="0">
|
20
|
+
<properties/>
|
21
|
+
<testcase name="Sharing page loads successfully Firefox 41 - Windows 8.1" time="15.815628" location="./spec/sharing_spec.rb:4">
|
22
|
+
</testcase>
|
23
|
+
</testsuite>
|
24
|
+
</testsuites>
|
25
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
26
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="16.346295" timestamp="2015-10-14T12:41:58-04:00">
|
27
|
+
<testsuite location="./spec/sign_in_spec.rb:3" name="Sign in page" tests="1" errors="0" failures="0" skipped="0">
|
28
|
+
<properties/>
|
29
|
+
<testcase name="Sign in page loads successfully Firefox 41 - Windows 8.1" time="16.286686" location="./spec/sign_in_spec.rb:4">
|
30
|
+
</testcase>
|
31
|
+
</testsuite>
|
32
|
+
</testsuites>
|
33
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
34
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="16.446286" timestamp="2015-10-14T12:41:58-04:00">
|
35
|
+
<testsuite location="./spec/sign_in_spec.rb:3" name="Sign in page" tests="1" errors="0" failures="0" skipped="0">
|
36
|
+
<properties/>
|
37
|
+
<testcase name="Sign in page loads successfully Internet explorer 11 - Windows 10" time="16.378335" location="./spec/sign_in_spec.rb:4">
|
38
|
+
</testcase>
|
39
|
+
</testsuite>
|
40
|
+
</testsuites>
|
41
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
42
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="16.75357" timestamp="2015-10-14T12:41:58-04:00">
|
43
|
+
<testsuite location="./spec/reset_password_spec.rb:3" name="Reset password page" tests="1" errors="0" failures="0" skipped="0">
|
44
|
+
<properties/>
|
45
|
+
<testcase name="Reset password page loads successfully Internet explorer 11 - Windows 10" time="16.709697" location="./spec/reset_password_spec.rb:4">
|
46
|
+
</testcase>
|
47
|
+
</testsuite>
|
48
|
+
</testsuites>
|
49
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
50
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="17.738474" timestamp="2015-10-14T12:41:59-04:00">
|
51
|
+
<testsuite location="./spec/sharing_spec.rb:3" name="Sharing page" tests="1" errors="0" failures="0" skipped="0">
|
52
|
+
<properties/>
|
53
|
+
<testcase name="Sharing page loads successfully Internet explorer 11 - Windows 10" time="17.679808" location="./spec/sharing_spec.rb:4">
|
54
|
+
</testcase>
|
55
|
+
</testsuite>
|
56
|
+
</testsuites>
|
57
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
58
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="19.017519" timestamp="2015-10-14T12:42:00-04:00">
|
59
|
+
<testsuite location="./spec/reset_password_spec.rb:3" name="Reset password page" tests="1" errors="0" failures="0" skipped="0">
|
60
|
+
<properties/>
|
61
|
+
<testcase name="Reset password page loads successfully Safari 8.1 - Mac 10.11" time="18.976598" location="./spec/reset_password_spec.rb:4">
|
62
|
+
</testcase>
|
63
|
+
</testsuite>
|
64
|
+
</testsuites>
|
65
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
66
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="19.681179" timestamp="2015-10-14T12:42:01-04:00">
|
67
|
+
<testsuite location="./spec/sharing_spec.rb:3" name="Sharing page" tests="1" errors="0" failures="0" skipped="0">
|
68
|
+
<properties/>
|
69
|
+
<testcase name="Sharing page loads successfully Safari 8.1 - Mac 10.11" time="19.631504" location="./spec/sharing_spec.rb:4">
|
70
|
+
</testcase>
|
71
|
+
</testsuite>
|
72
|
+
</testsuites>
|
73
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
74
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="20.914578" timestamp="2015-10-14T12:42:02-04:00">
|
75
|
+
<testsuite location="./spec/sign_in_spec.rb:3" name="Sign in page" tests="1" errors="0" failures="0" skipped="0">
|
76
|
+
<properties/>
|
77
|
+
<testcase name="Sign in page loads successfully Safari 8.1 - Mac 10.11" time="20.853925" location="./spec/sign_in_spec.rb:4">
|
78
|
+
</testcase>
|
79
|
+
</testsuite>
|
80
|
+
</testsuites>
|
81
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
82
|
+
<testsuites errors="0" failures="0" skipped="0" tests="2" time="22.016006" timestamp="2015-10-14T12:42:03-04:00">
|
83
|
+
<testsuite location="./spec/reset_password_spec.rb:3" name="Reset password page" tests="1" errors="0" failures="0" skipped="0">
|
84
|
+
<properties/>
|
85
|
+
<testcase name="Reset password page loads successfully Internet explorer 10 - Windows 8" time="11.808956" location="./spec/reset_password_spec.rb:4">
|
86
|
+
</testcase>
|
87
|
+
</testsuite>
|
88
|
+
<testsuite location="./spec/welcome_spec.rb:3" name="Welcome page" tests="1" errors="0" failures="0" skipped="0">
|
89
|
+
<properties/>
|
90
|
+
<testcase name="Welcome page loads successfully Chrome 45 - Windows 8.1" time="10.164598" location="./spec/welcome_spec.rb:4">
|
91
|
+
</testcase>
|
92
|
+
</testsuite>
|
93
|
+
</testsuites>
|
94
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
95
|
+
<testsuites errors="0" failures="0" skipped="0" tests="2" time="24.141019" timestamp="2015-10-14T12:42:05-04:00">
|
96
|
+
<testsuite location="./spec/sign_in_spec.rb:3" name="Sign in page" tests="1" errors="0" failures="0" skipped="0">
|
97
|
+
<properties/>
|
98
|
+
<testcase name="Sign in page loads successfully Internet explorer 10 - Windows 8" time="12.801699" location="./spec/sign_in_spec.rb:4">
|
99
|
+
</testcase>
|
100
|
+
</testsuite>
|
101
|
+
<testsuite location="./spec/welcome_spec.rb:3" name="Welcome page" tests="1" errors="0" failures="0" skipped="0">
|
102
|
+
<properties/>
|
103
|
+
<testcase name="Welcome page loads successfully Internet explorer 10 - Windows 8" time="11.27141" location="./spec/welcome_spec.rb:4">
|
104
|
+
</testcase>
|
105
|
+
</testsuite>
|
106
|
+
</testsuites>
|
107
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
108
|
+
<testsuites errors="0" failures="0" skipped="0" tests="2" time="24.280599" timestamp="2015-10-14T12:42:05-04:00">
|
109
|
+
<testsuite location="./spec/reset_password_spec.rb:3" name="Reset password page" tests="1" errors="0" failures="0" skipped="0">
|
110
|
+
<properties/>
|
111
|
+
<testcase name="Reset password page loads successfully Chrome 45 - Windows 8.1" time="8.967452" location="./spec/reset_password_spec.rb:4">
|
112
|
+
</testcase>
|
113
|
+
</testsuite>
|
114
|
+
<testsuite location="./spec/welcome_spec.rb:3" name="Welcome page" tests="1" errors="0" failures="0" skipped="0">
|
115
|
+
<properties/>
|
116
|
+
<testcase name="Welcome page loads successfully Firefox 41 - Windows 8.1" time="15.271002" location="./spec/welcome_spec.rb:4">
|
117
|
+
</testcase>
|
118
|
+
</testsuite>
|
119
|
+
</testsuites>
|
120
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
121
|
+
<testsuites errors="0" failures="0" skipped="0" tests="2" time="27.012117" timestamp="2015-10-14T12:42:08-04:00">
|
122
|
+
<testsuite location="./spec/reset_password_spec.rb:3" name="Reset password page" tests="1" errors="0" failures="0" skipped="0">
|
123
|
+
<properties/>
|
124
|
+
<testcase name="Reset password page loads successfully Firefox 41 - Windows 8.1" time="13.097038" location="./spec/reset_password_spec.rb:4">
|
125
|
+
</testcase>
|
126
|
+
</testsuite>
|
127
|
+
<testsuite location="./spec/welcome_spec.rb:3" name="Welcome page" tests="1" errors="0" failures="0" skipped="0">
|
128
|
+
<properties/>
|
129
|
+
<testcase name="Welcome page loads successfully Internet explorer 11 - Windows 10" time="13.818436" location="./spec/welcome_spec.rb:4">
|
130
|
+
</testcase>
|
131
|
+
</testsuite>
|
132
|
+
</testsuites>
|
133
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
134
|
+
<testsuites errors="0" failures="0" skipped="0" tests="2" time="31.558378" timestamp="2015-10-14T12:42:13-04:00">
|
135
|
+
<testsuite location="./spec/sharing_spec.rb:3" name="Sharing page" tests="1" errors="0" failures="0" skipped="0">
|
136
|
+
<properties/>
|
137
|
+
<testcase name="Sharing page loads successfully Chrome 45 - Windows 8.1" time="11.919954" location="./spec/sharing_spec.rb:4">
|
138
|
+
</testcase>
|
139
|
+
</testsuite>
|
140
|
+
<testsuite location="./spec/welcome_spec.rb:3" name="Welcome page" tests="1" errors="0" failures="0" skipped="0">
|
141
|
+
<properties/>
|
142
|
+
<testcase name="Welcome page loads successfully Safari 8.1 - Mac 10.11" time="19.585464" location="./spec/welcome_spec.rb:4">
|
143
|
+
</testcase>
|
144
|
+
</testsuite>
|
145
|
+
</testsuites>
|
146
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
147
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="43.214236" timestamp="2015-10-14T12:42:24-04:00">
|
148
|
+
<testsuite location="./spec/promos_spec.rb:3" name="Promos" tests="1" errors="0" failures="0" skipped="0">
|
149
|
+
<properties/>
|
150
|
+
<testcase name="Promos each promo has the expected data Chrome 45 - Windows 8.1" time="43.182716" location="./spec/promos_spec.rb:4">
|
151
|
+
</testcase>
|
152
|
+
</testsuite>
|
153
|
+
</testsuites>
|
154
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
155
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="49.623575" timestamp="2015-10-14T12:42:31-04:00">
|
156
|
+
<testsuite location="./spec/promos_spec.rb:3" name="Promos" tests="1" errors="0" failures="0" skipped="0">
|
157
|
+
<properties/>
|
158
|
+
<testcase name="Promos each promo has the expected data Internet explorer 10 - Windows 8" time="49.593516" location="./spec/promos_spec.rb:4">
|
159
|
+
</testcase>
|
160
|
+
</testsuite>
|
161
|
+
</testsuites>
|
162
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
163
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="50.735702" timestamp="2015-10-14T12:42:32-04:00">
|
164
|
+
<testsuite location="./spec/promos_spec.rb:3" name="Promos" tests="1" errors="0" failures="0" skipped="0">
|
165
|
+
<properties/>
|
166
|
+
<testcase name="Promos each promo has the expected data Firefox 41 - Windows 8.1" time="50.704113" location="./spec/promos_spec.rb:4">
|
167
|
+
</testcase>
|
168
|
+
</testsuite>
|
169
|
+
</testsuites>
|
170
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
171
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="64.238108" timestamp="2015-10-14T12:42:45-04:00">
|
172
|
+
<testsuite location="./spec/promos_spec.rb:3" name="Promos" tests="1" errors="0" failures="0" skipped="0">
|
173
|
+
<properties/>
|
174
|
+
<testcase name="Promos each promo has the expected data Safari 8.1 - Mac 10.11" time="64.207364" location="./spec/promos_spec.rb:4">
|
175
|
+
</testcase>
|
176
|
+
</testsuite>
|
177
|
+
</testsuites>
|
178
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
179
|
+
<testsuites errors="0" failures="0" skipped="0" tests="1" time="69.52873" timestamp="2015-10-14T12:42:51-04:00">
|
180
|
+
<testsuite location="./spec/promos_spec.rb:3" name="Promos" tests="1" errors="0" failures="0" skipped="0">
|
181
|
+
<properties/>
|
182
|
+
<testcase name="Promos each promo has the expected data Internet explorer 11 - Windows 10" time="69.49698" location="./spec/promos_spec.rb:4">
|
183
|
+
</testcase>
|
184
|
+
</testsuite>
|
185
|
+
</testsuites>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec_junit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nat Ritmeyer
|
@@ -39,6 +39,34 @@ dependencies:
|
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: 3.2.2
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: pry
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 0.10.2
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 0.10.2
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: fakefs
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 0.6.7
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.6.7
|
42
70
|
- !ruby/object:Gem::Dependency
|
43
71
|
name: rubocop
|
44
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,20 +137,34 @@ dependencies:
|
|
109
137
|
- - "~>"
|
110
138
|
- !ruby/object:Gem::Version
|
111
139
|
version: 0.6.0
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: simplecov
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - "~>"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 0.10.0
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - "~>"
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: 0.10.0
|
112
154
|
- !ruby/object:Gem::Dependency
|
113
155
|
name: coveralls
|
114
156
|
requirement: !ruby/object:Gem::Requirement
|
115
157
|
requirements:
|
116
158
|
- - "~>"
|
117
159
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.8.
|
160
|
+
version: 0.8.3
|
119
161
|
type: :development
|
120
162
|
prerelease: false
|
121
163
|
version_requirements: !ruby/object:Gem::Requirement
|
122
164
|
requirements:
|
123
165
|
- - "~>"
|
124
166
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.8.
|
167
|
+
version: 0.8.3
|
126
168
|
- !ruby/object:Gem::Dependency
|
127
169
|
name: reek
|
128
170
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,7 +196,8 @@ dependencies:
|
|
154
196
|
description: Yet Another RSpec JUnit Formatter (for Hudson/Jenkins)
|
155
197
|
email:
|
156
198
|
- nat@natontesting.com
|
157
|
-
executables:
|
199
|
+
executables:
|
200
|
+
- rspec_junit_split
|
158
201
|
extensions: []
|
159
202
|
extra_rdoc_files: []
|
160
203
|
files:
|
@@ -167,6 +210,7 @@ files:
|
|
167
210
|
- LICENSE.txt
|
168
211
|
- README.md
|
169
212
|
- Thorfile
|
213
|
+
- bin/rspec_junit_split
|
170
214
|
- features/basic.feature
|
171
215
|
- features/individual_suites.feature
|
172
216
|
- features/individual_tests.feature
|
@@ -178,10 +222,15 @@ files:
|
|
178
222
|
- features/support/env.rb
|
179
223
|
- lib/rspec_junit.rb
|
180
224
|
- lib/rspec_junit/junit.rb
|
225
|
+
- lib/rspec_junit/merged_xml.rb
|
181
226
|
- lib/rspec_junit/version.rb
|
182
227
|
- rspec_junit.gemspec
|
228
|
+
- spec/fake_foreach_patch.rb
|
183
229
|
- spec/formatter_conformity_spec.rb
|
230
|
+
- spec/merged_xml_spec.rb
|
184
231
|
- spec/spec_helper.rb
|
232
|
+
- spec/start_coverage.rb
|
233
|
+
- spec/xml/merged_xml.xml
|
185
234
|
homepage: http://github.com/bootstraponline/rspec_junit
|
186
235
|
licenses: []
|
187
236
|
metadata: {}
|
@@ -215,6 +264,10 @@ test_files:
|
|
215
264
|
- features/step_definitions/suite_level_details_steps.rb
|
216
265
|
- features/suite_level_details.feature
|
217
266
|
- features/support/env.rb
|
267
|
+
- spec/fake_foreach_patch.rb
|
218
268
|
- spec/formatter_conformity_spec.rb
|
269
|
+
- spec/merged_xml_spec.rb
|
219
270
|
- spec/spec_helper.rb
|
271
|
+
- spec/start_coverage.rb
|
272
|
+
- spec/xml/merged_xml.xml
|
220
273
|
has_rdoc:
|