fastlane-plugin-test_center 3.8.0.parallelizing.beta.1 → 3.8.0.parallelizing.beta.2

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: e0d83a81d13511c8798b43c1b458e6619d94c786
4
- data.tar.gz: '048f7bc9d0465b5fba70b682271b6d5952e88963'
3
+ metadata.gz: 3369bb517e8397178591e8751835171fbe63b10a
4
+ data.tar.gz: 0e76683cdb19d3d7f860b075036bc317e0ef3d8d
5
5
  SHA512:
6
- metadata.gz: 2e7c925081b38580cb7efe949c689963f44368db7f92a73ad5c1eec497aed23c17ec3416afd5e57578277359899989c2cd700a26a79f6c1a14ae455ab4ac2f31
7
- data.tar.gz: 4434d5b5502c17a6fe3b3c70fcba0a39a03212479c331b10a0deb6780a243ec1b5fa9c147d5b8d70a7f0bb55c17d1737a34e5d1fcec28d7c89673169b7d9ee69
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[:force_quit_simulator]
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 == :output_types }
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 force_quit_simulator].include?(key) } )
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 force_quit_simulator].include?(key) }
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)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module TestCenter
3
- VERSION = "3.8.0.parallelizing.beta.1"
3
+ VERSION = "3.8.0.parallelizing.beta.2"
4
4
  end
5
5
  end
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.1
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-19 00:00:00.000000000 Z
11
+ date: 2019-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json