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: 0c9e21b3d030a91eafe41d2d3f4d70ee1736e2c4ae36c13218374a5669e0f5b5
4
- data.tar.gz: 176a4e44e5f695404e33e1be399133178bbe7cfb6cf907e6cfc0d16381de2722
3
+ metadata.gz: 71f2ac632a905eaab2a3e9c7495fb1a3f17553f85979802daed0ba7611aa5eed
4
+ data.tar.gz: '095c5cf65ad0b71a8bd34a1883547951320470321e789f264f8987af83c47d4b'
5
5
  SHA512:
6
- metadata.gz: b23d9fc31f7418859a56f835220b95ed6d251423cf1cbbd34e52766f128400b65b76e4cf692f52e30c4c502fd84b2e4fd2bd29103aac492f815a4e5edc57a3a3
7
- data.tar.gz: 713ca27af8ee375ef245183527d32338d28f15a85f6c91647ee8f52bda7adf3b759fb004a7d16eb5d4bb34a13161ca2a1f5d253ae0288639c8310b502aa79b49
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
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module TestCenter
3
- VERSION = "3.8.0"
3
+ VERSION = "3.8.1"
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
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-07 00:00:00.000000000 Z
11
+ date: 2019-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json