fastlane-plugin-test_center 3.18.0 → 3.19.0

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
  SHA256:
3
- metadata.gz: 4f6d99aabca4387ba0c9662f464ffdfad90efe6b2d67fc8155957660c9329e79
4
- data.tar.gz: 70bedb512cd8593bb900196e32922f33e3d30c39318a354d7164f47021c686a6
3
+ metadata.gz: 9d61e954d4ce230901a494ca25bca7a5dc7ff3496dfb6ff638b886cb78704f18
4
+ data.tar.gz: c3bd1f5803cb8dbd4408f8d91bf7b0069ee80391047f104f6fa2c4f0711a600b
5
5
  SHA512:
6
- metadata.gz: a583686bff475a7d84b4588c10bade1c97de8cf9cbac109da0e418dd52ca967ffcc9353a178f681640d4424563dff1dedee4e3f22662daa1099698e66d6b48e6
7
- data.tar.gz: 3bd9f9908260144985184c5c3d22121fddf54c9c635a19f2db5542cdaf949526c051155a2ef99b75388b31a06e4f492e3e7ff2a62859751b6973b22d772d9b87
6
+ metadata.gz: 4e9117f66388f484f4dcf993a4fc205ea5819dd278a47437de5bcf87e71ed386cb6e09b7ac8805cccd9f35f110468ee4118ae98a1ab27bbdaacffac61460ba90
7
+ data.tar.gz: 3c75fd3783808e0e7c377183cf186879116ca935c906056c53b22f08e5fcadd5065555a961c6d1f3ec17cad68aeb20e3a14d76f396eb4e808e0da8d181971918
@@ -33,7 +33,8 @@ module Fastlane
33
33
  testable_summaries = all_summaries.map(&:testable_summaries).flatten
34
34
  failed = []
35
35
  passing = []
36
- skipped = []
36
+ skipped = []
37
+ expected_failures = []
37
38
  failure_details = {}
38
39
  testable_summaries.map do |testable_summary|
39
40
  target_name = testable_summary.target_name
@@ -43,6 +44,8 @@ module Fastlane
43
44
  passing << "#{target_name}/#{t.identifier.sub('()', '')}"
44
45
  elsif t.test_status == 'Skipped'
45
46
  skipped << "#{target_name}/#{t.identifier.sub('()', '')}"
47
+ elsif t.test_status == 'Expected Failure'
48
+ expected_failures << "#{target_name}/#{t.identifier.sub('()', '')}"
46
49
  else
47
50
  test_identifier = "#{target_name}/#{t.identifier.sub('()', '')}"
48
51
  failed << test_identifier
@@ -58,7 +61,8 @@ module Fastlane
58
61
  {
59
62
  failed: failed.uniq,
60
63
  passing: passing.uniq,
61
- skipped: skipped.uniq,
64
+ skipped: skipped.uniq,
65
+ expected_failures: expected_failures.uniq,
62
66
  failure_details: failure_details
63
67
  }
64
68
  end
@@ -68,7 +72,7 @@ module Fastlane
68
72
  #####################################################
69
73
 
70
74
  def self.description
71
- "☑️ Retrieves the failing, passing, and skipped tests as reported in a xcresult bundle"
75
+ "☑️ Retrieves the failing, passing, skipped, and expected failing tests as reported in a xcresult bundle"
72
76
  end
73
77
 
74
78
 
@@ -90,7 +94,8 @@ module Fastlane
90
94
  "A Hash with information about the test results:\r\n" \
91
95
  "failed: an Array of the failed test identifiers\r\n" \
92
96
  "passing: an Array of the passing test identifiers\r\n" \
93
- "skipped: an Array of the skipped test identifiers\r\n"
97
+ "skipped: an Array of the skipped test identifiers\r\n" \
98
+ "expected_failures: an Array of the expected failure test identifiers\r\n"
94
99
  end
95
100
 
96
101
  def self.authors
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module TestCenter
3
- VERSION = "3.18.0"
3
+ VERSION = "3.19.0"
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.18.0
4
+ version: 3.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lyndsey Ferguson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json