fastlane-plugin-test_center 3.8.0 → 3.8.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71f2ac632a905eaab2a3e9c7495fb1a3f17553f85979802daed0ba7611aa5eed
|
4
|
+
data.tar.gz: '095c5cf65ad0b71a8bd34a1883547951320470321e789f264f8987af83c47d4b'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 975f4be5396c3a3f6d45099d612c3b0a684101d52197cbed9f204bde048d91a0a884b35b9b5575007f08f3b2e2d4ad75c7c52841e66eb1c060ad86f7ca88c81d
|
7
|
+
data.tar.gz: 045ddfbe7d933c411f5c376e41e8cff69188d894411c46cd8838a01b68f0728110771d4690143b65055e3bc776e5407e0739711718b430a9dc58a78916b0f0d4
|
data/README.md
CHANGED
@@ -102,6 +102,9 @@ Another issue that can cause tests to incorrectly fail comes from an issue with
|
|
102
102
|
|
103
103
|
Make better use of your Mac resources by running batches of test runs in parallel iOS Simulators running simultaneously. Use the `:parallel_testrun_count` option to specify 2 to 6 simulators, each running a subset of your tests. It is not recommended to run more than 6 simulators in parallel as the service that backs the simulators can fail to connect to them.
|
104
104
|
|
105
|
+
##### Note: while Xcode provides the option to run testsuites in parallel, this does not help if one testsuite has 100 testcases and another has 300 testcases. That's because each of those testsuites will run on their own iOS Simulator and you have to wait for the Simulator with the most testcases: 300 testcases in this example.
|
106
|
+
##### `multi_scan`, on the other hand, can split those tests into 4 batches of 100 using a `:parallel_testrun_count` of 4. You only have to wait for the iOS Simulators to finish 100 testcases.
|
107
|
+
|
105
108
|
#### Inspect Partial Results
|
106
109
|
|
107
110
|
If you have a large number of tests, and you want to inspect the overall status of how test runs are progressing, you can use the `:testrun_completed_block` callback to bailout early or make adjustments on how your tests are exercised.
|
@@ -121,7 +121,8 @@ module Fastlane
|
|
121
121
|
|
122
122
|
defaults = Hash[Fastlane::Actions::ScanAction.available_options.map { |i| [i.key, i.default_value] }]
|
123
123
|
FastlaneCore::UI.verbose("MultiScanAction resetting Scan config to defaults")
|
124
|
-
|
124
|
+
defaults.delete(:destination)
|
125
|
+
|
125
126
|
Scan.config._values.each do |k,v|
|
126
127
|
Scan.config.set(k, defaults[k]) if defaults.key?(k)
|
127
128
|
end
|
@@ -224,7 +224,7 @@ module TestCenter
|
|
224
224
|
junit: File.absolute_path(report_filepath)
|
225
225
|
}
|
226
226
|
)
|
227
|
-
@options[:only_testing] = Fastlane::Actions::TestsFromJunitAction.run(config)[:failed]
|
227
|
+
@options[:only_testing] = Fastlane::Actions::TestsFromJunitAction.run(config)[:failed].map(&:shellsafe_testidentifier)
|
228
228
|
if @options[:invocation_based_tests]
|
229
229
|
@options[:only_testing] = @options[:only_testing].map(&:strip_testcase).uniq
|
230
230
|
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.
|
4
|
+
version: 3.8.1
|
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-08-
|
11
|
+
date: 2019-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|