allure-ruby-adaptor-api 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +11 -8
- data/lib/allure-ruby-adaptor-api/builder.rb +12 -10
- data/lib/allure-ruby-adaptor-api/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57a03078cf21cf53f9863a3a4e624e6524c211ce
|
4
|
+
data.tar.gz: 8ed78a565955775e06fb2a0c84e4b40fbaa89952
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ce378ce96864516e8d0f3d163769f8773ee5ca7a07463ca7bcfe271b81b1c664809b231fa31352f813929ad857e38add53110e3e09d0d15c29f5361ad372dd9
|
7
|
+
data.tar.gz: 9f2a4f54e99c7b7678a995f57595b055e27c3028545482de758c7cdf390c37d0cc6da04b2f738b0d3c1b6d5270783eb53df4f43bcec0d3c31556b6f6360624c3
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
allure-ruby-adaptor-api (0.
|
4
|
+
allure-ruby-adaptor-api (0.7.1)
|
5
5
|
mimemagic
|
6
|
-
nokogiri (~> 1.
|
6
|
+
nokogiri (~> 1.7)
|
7
7
|
uuid
|
8
8
|
|
9
9
|
GEM
|
@@ -11,13 +11,13 @@ GEM
|
|
11
11
|
specs:
|
12
12
|
macaddr (1.7.1)
|
13
13
|
systemu (~> 2.6.2)
|
14
|
-
mimemagic (0.2
|
15
|
-
|
16
|
-
nokogiri (1.
|
17
|
-
|
14
|
+
mimemagic (0.3.2)
|
15
|
+
mini_portile2 (2.3.0)
|
16
|
+
nokogiri (1.8.2)
|
17
|
+
mini_portile2 (~> 2.3.0)
|
18
18
|
rake (10.3.2)
|
19
|
-
systemu (2.6.
|
20
|
-
uuid (2.3.
|
19
|
+
systemu (2.6.5)
|
20
|
+
uuid (2.3.8)
|
21
21
|
macaddr (~> 1.0)
|
22
22
|
|
23
23
|
PLATFORMS
|
@@ -27,3 +27,6 @@ DEPENDENCIES
|
|
27
27
|
allure-ruby-adaptor-api!
|
28
28
|
bundler
|
29
29
|
rake
|
30
|
+
|
31
|
+
BUNDLED WITH
|
32
|
+
1.13.7
|
@@ -62,10 +62,10 @@ module AllureRubyAdaptorApi
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
def start_step(suite, test, step)
|
65
|
+
def start_step(suite, test, step, step_id = step)
|
66
66
|
MUTEX.synchronize do
|
67
|
-
LOGGER.debug "Starting step #{suite}.#{test}.#{step}"
|
68
|
-
self.suites[suite][:tests][test][:steps][
|
67
|
+
LOGGER.debug "Starting step #{suite}.#{test}.#{step}.#{step_id}"
|
68
|
+
self.suites[suite][:tests][test][:steps][step_id] = {
|
69
69
|
:title => step,
|
70
70
|
:start => timestamp,
|
71
71
|
:attachments => []
|
@@ -101,11 +101,13 @@ module AllureRubyAdaptorApi
|
|
101
101
|
end
|
102
102
|
end
|
103
103
|
|
104
|
-
def stop_step(suite, test, step, status = :passed)
|
104
|
+
def stop_step(suite, test, step, step_id = '', status = :passed)
|
105
|
+
step_id = step if step_id == ''
|
105
106
|
MUTEX.synchronize do
|
106
|
-
LOGGER.debug "Stopping step #{suite}.#{test}.#{step}"
|
107
|
-
self.suites[suite][:tests][test][:steps][
|
108
|
-
self.suites[suite][:tests][test][:steps][
|
107
|
+
LOGGER.debug "Stopping step #{suite}.#{test}.#{step}.#{step_id}"
|
108
|
+
self.suites[suite][:tests][test][:steps][step_id][:stop] = timestamp
|
109
|
+
self.suites[suite][:tests][test][:steps][step_id][:status] = status
|
110
|
+
self.suites[suite][:tests][test][:steps][step_id][:name] = name
|
109
111
|
end
|
110
112
|
end
|
111
113
|
|
@@ -136,10 +138,10 @@ module AllureRubyAdaptorApi
|
|
136
138
|
end
|
137
139
|
end
|
138
140
|
xml.steps do
|
139
|
-
test[:steps].each do |
|
141
|
+
test[:steps].each do |step_id, step_obj|
|
140
142
|
xml.step(:start => step_obj[:start] || 0, :stop => step_obj[:stop] || 0, :status => step_obj[:status]) do
|
141
|
-
xml.send :name,
|
142
|
-
xml.send :title,
|
143
|
+
xml.send :name, test[:steps][step_id][:title]
|
144
|
+
xml.send :title, test[:steps][step_id][:title]
|
143
145
|
xml_attachments(xml, step_obj[:attachments])
|
144
146
|
end
|
145
147
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allure-ruby-adaptor-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilya Sadykov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -120,8 +120,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.4.8
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
|
-
summary: allure-ruby-adaptor-api-0.7.
|
126
|
+
summary: allure-ruby-adaptor-api-0.7.1
|
127
127
|
test_files: []
|