allure-rspec 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/allure-rspec/builder.rb +6 -3
- data/lib/allure-rspec/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b29eacbcd07d186e23f1cc2f3e1e110db9833c3b
|
4
|
+
data.tar.gz: 07797ab8e11f37ec34969f39a44ecd4953506581
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c3d8c8cb615f63d58ca230e3f53e35fd9616fc08a17ea201f1c6ee1dab2daa3cb272ed001f3fb5629386cbf2437e7021a7acd43c875db17212a2ca340b66b7e
|
7
|
+
data.tar.gz: 4d4b0206cf6e06256b400e8f57d56c22a2adad0fc0fdccfc31a9249a31ab048566f4f1e65f6d5d8024de237a1cd2f8b438e4fb98682b1f098a3bae0faf889c3f
|
data/Gemfile.lock
CHANGED
data/lib/allure-rspec/builder.rb
CHANGED
@@ -116,11 +116,13 @@ module AllureRSpec
|
|
116
116
|
self.suites.each do |suite_title, suite|
|
117
117
|
builder = Nokogiri::XML::Builder.new do |xml|
|
118
118
|
xml.send "ns2:test-suite", :start => suite[:start] || 0, :stop => suite[:stop] || 0, 'xmlns' => '', "xmlns:ns2" => "urn:model.allure.qatools.yandex.ru" do
|
119
|
-
xml.send
|
119
|
+
xml.send :name, suite_title
|
120
|
+
xml.send :title, suite_title
|
120
121
|
xml.send "test-cases" do
|
121
122
|
suite[:tests].each do |test_title, test|
|
122
123
|
xml.send "test-case", :start => test[:start] || 0, :stop => test[:stop] || 0, :status => test[:status] do
|
123
|
-
xml.send
|
124
|
+
xml.send :name, test_title
|
125
|
+
xml.send :title, test_title
|
124
126
|
unless test[:failure].nil?
|
125
127
|
xml.failure do
|
126
128
|
xml.message test[:failure][:message]
|
@@ -130,7 +132,8 @@ module AllureRSpec
|
|
130
132
|
xml.steps do
|
131
133
|
test[:steps].each do |step_title, step_obj|
|
132
134
|
xml.step(:start => step_obj[:start] || 0, :stop => step_obj[:stop] || 0, :status => step_obj[:status]) do
|
133
|
-
xml.send
|
135
|
+
xml.send :name, step_title
|
136
|
+
xml.send :title, step_title
|
134
137
|
xml.attachments do
|
135
138
|
step_obj[:attachments].each do |attach|
|
136
139
|
xml.attachment :source => attach[:source], :title => attach[:title], :size => attach[:size], :type => attach[:type]
|
data/lib/allure-rspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allure-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilya Sadykov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -139,5 +139,5 @@ rubyforge_project:
|
|
139
139
|
rubygems_version: 2.0.3
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
|
-
summary: allure-rspec-0.3.
|
142
|
+
summary: allure-rspec-0.3.3
|
143
143
|
test_files: []
|