bucky-core 0.10.18 → 0.10.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/bucky +0 -1
- data/lib/bucky/core/test_core/test_manager.rb +5 -7
- data/lib/bucky/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f4b95e3aacb47a0ed943a1f2dc60dc5678c497a1e7939f5e5d0b49f0a2ac60d
|
4
|
+
data.tar.gz: 5f2678962c6af2dbea319ba64b21266a2b3e1154d2a1b87d0e1904abe08f6732
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c81df8720f17e09c777d8a8ceb1d548c1caecfe3c864125363f3274fc15afddebd9268d49ccf492c01290cb43f5d37e964be6372f0e90f51b35563cb989482c2
|
7
|
+
data.tar.gz: 5f74682240c9c7d338477d5d65bce7037db574aa9314b04ca1aeac1435e3b23928f1b4abb9558459994f7a2d5e5f87af178a9dc1414fb1e482674624af699c49
|
data/exe/bucky
CHANGED
@@ -131,7 +131,6 @@ def setup_test_cond(test_cond)
|
|
131
131
|
test_cond[:test_category] ||= 'e2e'
|
132
132
|
test_cond[:re_test_count] = test_cond[:re_test_count] ? test_cond[:re_test_count].to_i : 1
|
133
133
|
test_cond[:link_check_max_times] ||= 3
|
134
|
-
test_cond[:out] ||= 'report.json'
|
135
134
|
# Change to array e.g.--suite_id 1,2,3 -> :suite_id=>[1,2,3]
|
136
135
|
%i[suite_name case label xlabel device].each do |k|
|
137
136
|
test_cond[k] = test_cond[k].split(',') unless test_cond[k].nil?
|
@@ -152,13 +152,13 @@ module Bucky
|
|
152
152
|
end
|
153
153
|
|
154
154
|
def execute_test
|
155
|
-
|
155
|
+
all_round_results = []
|
156
156
|
@re_test_count.times do |i|
|
157
157
|
Bucky::Core::TestCore::ExitHandler.instance.reset
|
158
158
|
$round = i + 1
|
159
159
|
@json_report[:summary][:round_count] = $round
|
160
160
|
test_suite_data = load_test_suites
|
161
|
-
|
161
|
+
all_round_results.append(do_test_suites(test_suite_data))
|
162
162
|
@test_cond[:re_test_cond] = @tdo.get_ng_test_cases_at_last_execution(
|
163
163
|
is_error: 1, job_id: $job_id, round: $round
|
164
164
|
)
|
@@ -167,11 +167,9 @@ module Bucky
|
|
167
167
|
|
168
168
|
return unless @test_cond[:out]
|
169
169
|
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
@json_report[:summary][:failure_count] += res['failure_count']
|
174
|
-
end
|
170
|
+
@json_report[:summary][:cases_count] = all_round_results[0].sum { |_case, res| res[:cases_count] }
|
171
|
+
@json_report[:summary][:failure_count] = all_round_results[-1].sum { |_case, res| res[:failure_count] }
|
172
|
+
@json_report[:summary][:success_count] = @json_report[:summary][:cases_count] - @json_report[:summary][:failure_count]
|
175
173
|
|
176
174
|
File.open(@test_cond[:out], 'w') do |f|
|
177
175
|
f.puts(@json_report.to_json)
|
data/lib/bucky/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bucky-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NaotoKishino
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: exe
|
15
15
|
cert_chain: []
|
16
|
-
date: 2022-
|
16
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: awesome_print
|