fastlane-plugin-retry_tests 1.0.3 → 1.0.4
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e746e60aff3e682cc2d4a8e51421de6968d14903
|
4
|
+
data.tar.gz: f3f602d79c25320f5607cd10f8c67b120838b401
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c184c61ab44ad5513f3542443cefc2775127aa8d9146676d4bfdceafbd975c4d64a222beedcf9027749860007e36d17e56f2bc5ef4e8907c729850703ee31ba
|
7
|
+
data.tar.gz: 7fd57b36e0bbc248a5c67b3480ba9462f8e9c8e2729891ade2e14531e0372d88c306a0f7e5b7f95a09b47966d4094360c08788fd563fc3418f727e5e7d0caa9c
|
@@ -8,7 +8,7 @@ module Fastlane
|
|
8
8
|
class CollateJunitReportsAction < Action
|
9
9
|
|
10
10
|
def self.run(params)
|
11
|
-
report_filepaths = params[:reports]
|
11
|
+
report_filepaths = params[:reports]
|
12
12
|
if report_filepaths.size == 1
|
13
13
|
FileUtils.cp(report_filepaths[0], params[:collated_report])
|
14
14
|
else
|
@@ -31,11 +31,6 @@ module Fastlane
|
|
31
31
|
Dir.mkdir(params[:collated_report]) unless File.exists?(params[:collated_report])
|
32
32
|
file_name = params[:collated_report] + "/action_TestSummaries.plist"
|
33
33
|
retried_tests = retry_report.xpath("//key[contains(.,'TestSummaryGUID')]/..")
|
34
|
-
UI.message("tests retried this run: " + retried_tests.length)
|
35
|
-
|
36
|
-
if (retried_tests.length <= 1)
|
37
|
-
return
|
38
|
-
end
|
39
34
|
|
40
35
|
current_node = retried_tests.shift
|
41
36
|
|
@@ -87,7 +82,6 @@ module Fastlane
|
|
87
82
|
def self.get_test_name(test_data)
|
88
83
|
test_name = test_data.xpath("(//key[contains(.,'TestSummaryGUID')])/../key[contains(.,'TestName')]/following-sibling::string").to_a[0].to_s
|
89
84
|
test_name = test_name[8..-10]
|
90
|
-
UI.message("test_name shortened: " + test_name)
|
91
85
|
test_name
|
92
86
|
end
|
93
87
|
|