fastlane-plugin-try_scan 0.2.0 → 0.2.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: 871975db0faec46bf64db099bd0d14829460ff8e542bfa8dffcdd39c6d491854
|
4
|
+
data.tar.gz: d518a6bcb11b1b4833d06bad970b8ba5764301be2f7ff9f8d0c3f92621f8c8b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 913b1a9891ea9a4fcd066daa4d36c3fd96d0d18e05a0923691c82b32ad320766337a615615bd2bfa6894cc01657b67bb0224732fcfb8d6063c3b3eee92a3ac64
|
7
|
+
data.tar.gz: e299cfc1124d6ce7545289eb8620d95b2eaf2da62062ce377c5ef3b86ed9ee613ce244ea5880298a4357f8758f0592a0da7fdf4feed5c55cc79facc4105f9ab2
|
@@ -200,9 +200,15 @@ module TryScanManager
|
|
200
200
|
def failed_tests_from_xcresult_report
|
201
201
|
only_testing = []
|
202
202
|
parse_xcresult_report['issues']['testFailureSummaries']['_values'].each do |failed_test|
|
203
|
+
is_a_swift_file = failed_test['documentLocationInCreatingWorkspace']['url']['_value'].include?('.swift')
|
203
204
|
suite_name = failed_test['producingTarget']['_value']
|
204
|
-
|
205
|
-
|
205
|
+
if is_a_swift_file
|
206
|
+
test_class = failed_test['testCaseName']['_value'].split('.').first
|
207
|
+
test_name = failed_test['testCaseName']['_value'].split('.')[1].split('(').first
|
208
|
+
else
|
209
|
+
test_class = failed_test['testCaseName']['_value'].split('[')[1].split(' ').first
|
210
|
+
test_name = failed_test['testCaseName']['_value'].split(' ')[1].split(']').first
|
211
|
+
end
|
206
212
|
only_testing << "#{suite_name}/#{test_class}/#{test_name}"
|
207
213
|
end
|
208
214
|
only_testing
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-try_scan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Alter-Pesotskiy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|