atm_formatter 0.1.35 → 0.1.36
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 620dd8da6e21fe18457922721adf31d5da15afab
|
4
|
+
data.tar.gz: 5b73aff70809d00a01ffff5250f6d3cd890c7913
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc4c48244ec9b0be8e7dd719da773a9e2bbf05183f8e3aa66b61e0bcc92c67f439ddb2ba0518e4eb90678b8b124a96e7521ea0566bcb6a75a17f3fa23e5bf3a6
|
7
|
+
data.tar.gz: 481ea8cbec6a5a0e5adaa5c8bfb05f088a319e982907b7502dd0a56f19e11890da6d2deaa648710fb8bb85bdad75609bcc8be99af19614bea8958cdd50c334fb
|
@@ -45,9 +45,9 @@ module ATM
|
|
45
45
|
progressbar = ProgressBar.create(total: file_data['test_cases'].size, format: 'Progress %c/%C |%B| %a')
|
46
46
|
file_data['test_cases'].each do |test_data|
|
47
47
|
test_run_id = test_data.delete('test_run_id')
|
48
|
+
test_case_id = test_data.delete('test_case_id')
|
48
49
|
|
49
50
|
if test_run_id
|
50
|
-
test_case_id = test_data.delete('test_case_id')
|
51
51
|
client.TestRun.create_new_test_run_result(test_run_id, test_case_id, test_data)
|
52
52
|
progressbar.increment
|
53
53
|
else
|
data/lib/atm_result_formatter.rb
CHANGED
@@ -39,11 +39,11 @@ class ATMResultFormatter < RSpec::Core::Formatters::BaseFormatter
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
@test_results.each do |
|
42
|
+
@test_results.each do |key, _value|
|
43
43
|
@test_data.each do |test_case_data|
|
44
|
-
if
|
44
|
+
if key.to_s == test_case_data[:file_path]
|
45
45
|
test_case_data.delete(:file_path)
|
46
|
-
@test_results[
|
46
|
+
@test_results[key][:test_cases] << test_case_data
|
47
47
|
end
|
48
48
|
end
|
49
49
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atm_formatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- azohra
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: atm_ruby
|