fastlane-plugin-test_center 3.13.2 → 3.14.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: 391e38d9af23a2337bcb32634971de2b7fc3813de2c2e8cddf1e20059ca588df
|
4
|
+
data.tar.gz: e438f5cef4c5c2864da937ea488b19e254277d0bcffe05721d2292271124c892
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44fc75715573240e6acb1146146075d5ba5f58f18e19b7fd568933d7749ed24fc513cff9f0806a46a2013c8575cc537592906901708efb7df13d79b86cdc1ce5
|
7
|
+
data.tar.gz: 568537fbb709f14c3f91fc0880cda63c88ce22470696f8f1cf17281176f635b4a31af4707e081251dfab06ed5ee6631fe78b63b96ebfe68e71d3538a875a1ca8
|
@@ -105,22 +105,7 @@ module TestCenter
|
|
105
105
|
@known_tests
|
106
106
|
end
|
107
107
|
|
108
|
-
|
109
|
-
# that has elements that are just the 'testsuite' or
|
110
|
-
# are just the 'testable/testsuite'. We want to take
|
111
|
-
# those and expand them out to the individual testcases.
|
112
|
-
# 'testsuite' => [
|
113
|
-
# 'testable/testsuite/testcase1',
|
114
|
-
# . 'testable/testsuite/testcase2',
|
115
|
-
# . 'testable/testsuite/testcase3'
|
116
|
-
# ]
|
117
|
-
# OR
|
118
|
-
# 'testable/testsuite' => [
|
119
|
-
# 'testable/testsuite/testcase1',
|
120
|
-
# . 'testable/testsuite/testcase2',
|
121
|
-
# . 'testable/testsuite/testcase3'
|
122
|
-
# ]
|
123
|
-
def expand_testsuites_to_tests(testables_tests)
|
108
|
+
def expand_short_testidentifiers_to_tests(testables_tests)
|
124
109
|
# Remember, testable_tests is of the format:
|
125
110
|
# {
|
126
111
|
# 'testable1' => [
|
@@ -159,6 +144,14 @@ module TestCenter
|
|
159
144
|
|
160
145
|
testsuite = ''
|
161
146
|
if test_components.size == 1
|
147
|
+
if test_components[0] == testable
|
148
|
+
# The following || [] is just in case the user provided multiple
|
149
|
+
# test targets or there are no actual tests found.
|
150
|
+
testables_tests[testable][index] = all_known_tests[testable] || []
|
151
|
+
all_known_tests.delete(testable)
|
152
|
+
next
|
153
|
+
end
|
154
|
+
|
162
155
|
testsuite = test_components[0]
|
163
156
|
else
|
164
157
|
testsuite = test_components[1]
|
@@ -176,7 +169,7 @@ module TestCenter
|
|
176
169
|
unless @testables_tests
|
177
170
|
if @only_testing
|
178
171
|
@testables_tests = only_testing_to_testables_tests
|
179
|
-
|
172
|
+
expand_short_testidentifiers_to_tests(@testables_tests)
|
180
173
|
else
|
181
174
|
@testables_tests = xctestrun_known_tests
|
182
175
|
if @skip_testing
|
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.
|
4
|
+
version: 3.14.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: 2020-08-
|
11
|
+
date: 2020-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|