bucky-core 0.10.19 → 0.10.22
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/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: ad26ae7d896b46091c2980ddf1abd4cb7118ff64d8ac4583211828cf9c2ba0e3
|
4
|
+
data.tar.gz: ffdca5a8bffd1c769bdbc329c434a5bb68dcf4198d2331515f667f1851c9c8ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5e2e78e4c64f7bfc4ad95dcc95d3fd2a359f4b829fdd723255d5fc23f4b2614f9ccb30e40e6d5d13425487e004f4456b59d86f5ce1d0d2c5a4712fb78c1ac51
|
7
|
+
data.tar.gz: c4bc515a067af476819cae7b8b8c8da9443c73ebd196ac97dbd073d1a489503beee71e4a0616cb403e3f1ece262eaa587189a8062a4c912e7f6c831c2b05e7f5
|
@@ -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.22
|
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
|