fastlane-plugin-test_center 3.8.0.parallelizing.beta.1 → 3.8.0.parallelizing.beta.2
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3369bb517e8397178591e8751835171fbe63b10a
|
4
|
+
data.tar.gz: 0e76683cdb19d3d7f860b075036bc317e0ef3d8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b96e7270ffaf8e14d4a947441ce75467cd788df5c4dda187d452863633d2506c8fce51e33e61b7d6f3064d6d8141336e708a5e27b6ff2dd966a68e6d725aa24e
|
7
|
+
data.tar.gz: 6c08aa5b1da5bdfa7352ecbd64a28407da4f978c2afa338cb8f7f953056ff7f723ed9ef2e887e2003b99fad1eae2e59a5ce8cfbbd267364e0b27679a4ba37073
|
@@ -18,7 +18,7 @@ module Fastlane
|
|
18
18
|
)
|
19
19
|
end
|
20
20
|
# :nocov:
|
21
|
-
force_quit_simulator_processes if params[:
|
21
|
+
force_quit_simulator_processes if params[:quit_simulators]
|
22
22
|
|
23
23
|
prepare_for_testing(params.values)
|
24
24
|
|
@@ -182,7 +182,7 @@ module Fastlane
|
|
182
182
|
end
|
183
183
|
|
184
184
|
def self.scan_options
|
185
|
-
ScanAction.available_options.reject { |config| config.key
|
185
|
+
ScanAction.available_options.reject { |config| %i[output_types force_quit_simulator].include?(config.key) }
|
186
186
|
end
|
187
187
|
|
188
188
|
def self.available_options
|
@@ -242,7 +242,11 @@ module Fastlane
|
|
242
242
|
description: 'Run simulators each batch of tests and/or each test target in parallel on its own Simulator',
|
243
243
|
optional: true,
|
244
244
|
is_string: false,
|
245
|
-
default_value: 1
|
245
|
+
default_value: 1,
|
246
|
+
verify_block: proc do |count|
|
247
|
+
UI.user_error!("Error: :parallel_testrun_count must be greater than zero") unless count > 0
|
248
|
+
UI.important("Warning: the CoreSimulatorService may fail to connect to simulators if :parallel_testrun_count is greater than 6") if count > 6
|
249
|
+
end
|
246
250
|
),
|
247
251
|
FastlaneCore::ConfigItem.new(
|
248
252
|
key: :testrun_completed_block,
|
@@ -36,12 +36,12 @@ module TestCenter
|
|
36
36
|
@options[:only_testing] = @options[:only_testing]&.map(&:strip_testcase)&.uniq
|
37
37
|
@options[:skip_testing] = @options[:skip_testing]&.map(&:strip_testcase)&.uniq
|
38
38
|
|
39
|
-
RetryingScan.run(@options.reject { |key| %i[device devices
|
39
|
+
RetryingScan.run(@options.reject { |key| %i[device devices].include?(key) } )
|
40
40
|
end
|
41
41
|
|
42
42
|
def run_test_batches
|
43
43
|
test_batch_results = []
|
44
|
-
pool_options = @options.reject { |key| %i[device devices
|
44
|
+
pool_options = @options.reject { |key| %i[device devices].include?(key) }
|
45
45
|
pool_options[:test_batch_results] = test_batch_results
|
46
46
|
|
47
47
|
pool = TestBatchWorkerPool.new(pool_options)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-test_center
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.8.0.parallelizing.beta.
|
4
|
+
version: 3.8.0.parallelizing.beta.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lyndsey Ferguson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|