fastlane-plugin-test_center 3.8.5 → 3.8.6
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/fastlane/plugin/test_center/actions/multi_scan.rb +15 -0
- data/lib/fastlane/plugin/test_center/helper/multi_scan_manager/simulator_helper.rb +1 -1
- data/lib/fastlane/plugin/test_center/helper/multi_scan_manager/test_batch_worker_pool.rb +2 -1
- data/lib/fastlane/plugin/test_center/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: 88bf82b019ae47ea885712887f7e36b824e69bf3956f36d4a9d561b46c73d77b
|
|
4
|
+
data.tar.gz: cb59d58624a9262fc0ad76afdd309ee1eef355646b2add4f086cf7a7af075f9e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d343c8d43b24e634cdea321f407656011ec874d6a26b2f17a7b002cbcab1e5c2cfef36b3ee278d71453c23b94983d69f2062df29c728e44be9ef24978a63b51
|
|
7
|
+
data.tar.gz: 77b1bcc10f4066abdc5602448d8a6e714dd0b2f80a9c629e9a4b39509eec34bfec5d1f907dda68b4cba19239fe740067e16939c39969be6e3cbf85f84dd4fbea
|
|
@@ -15,6 +15,7 @@ module Fastlane
|
|
|
15
15
|
|
|
16
16
|
prepare_for_testing(params.values)
|
|
17
17
|
|
|
18
|
+
coerce_destination_to_array(params)
|
|
18
19
|
platform = :mac
|
|
19
20
|
platform = :ios_simulator if Scan.config[:destination].any? { |d| d.include?('platform=iOS Simulator') }
|
|
20
21
|
|
|
@@ -31,6 +32,13 @@ module Fastlane
|
|
|
31
32
|
summary
|
|
32
33
|
end
|
|
33
34
|
|
|
35
|
+
def self.coerce_destination_to_array(params)
|
|
36
|
+
destination = params[:destination] || Scan.config[:destination] || []
|
|
37
|
+
unless destination.kind_of?(Array)
|
|
38
|
+
params[:destination] = Scan.config[:destination] = [destination]
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
34
42
|
def self.print_multi_scan_parameters(params)
|
|
35
43
|
return if Helper.test?
|
|
36
44
|
# :nocov:
|
|
@@ -307,6 +315,13 @@ module Fastlane
|
|
|
307
315
|
UI.important("Warning: the CoreSimulatorService may fail to connect to simulators if :parallel_testrun_count is greater than 6") if count > 6
|
|
308
316
|
end
|
|
309
317
|
),
|
|
318
|
+
FastlaneCore::ConfigItem.new(
|
|
319
|
+
key: :pre_delete_cloned_simulators,
|
|
320
|
+
description: 'Delete left over cloned simulators before running a parallel testrun',
|
|
321
|
+
optional: true,
|
|
322
|
+
is_string: false,
|
|
323
|
+
default_value: true
|
|
324
|
+
),
|
|
310
325
|
FastlaneCore::ConfigItem.new(
|
|
311
326
|
key: :testrun_completed_block,
|
|
312
327
|
description: 'A block invoked each time a test run completes. When combined with :parallel_testrun_count, will be called separately in each child process',
|
|
@@ -22,7 +22,8 @@ module TestCenter
|
|
|
22
22
|
return [] unless @options[:platform] == :ios_simulator
|
|
23
23
|
|
|
24
24
|
@simhelper = SimulatorHelper.new(
|
|
25
|
-
parallel_testrun_count: @options[:parallel_testrun_count]
|
|
25
|
+
parallel_testrun_count: @options[:parallel_testrun_count],
|
|
26
|
+
pre_delete_cloned_simulators: @options.fetch(:pre_delete_cloned_simulators, true)
|
|
26
27
|
)
|
|
27
28
|
@simhelper.setup
|
|
28
29
|
@clones = @simhelper.clone_destination_simulators
|
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.
|
|
4
|
+
version: 3.8.6
|
|
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-09
|
|
11
|
+
date: 2019-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|