fastlane-plugin-test_center 3.15.1 → 3.15.2

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: 576a5f0ccfcd2493c0221b3d8e16c244f7eafd8f8aa7371ea33d7e11e9f1926a
4
- data.tar.gz: f9b497dead45562546fd30b7f3308e0788e86398922def524ebb304afb7b850f
3
+ metadata.gz: 7803bf468642bcd0cb4f690b348d9849e604a63670efc0e4f270fec079579013
4
+ data.tar.gz: 1176ee96e31ace7572b053b2a955447aaf0ae94930167b178e2e83c03ef39ed5
5
5
  SHA512:
6
- metadata.gz: 609a60a2c1bd1142efd31b20ffc0aa53aa6aae4ff3eeb0697ab81bcfa4a62ce2b772d03873cf78c369bb02e80f6d47ed47cb2edba1d6c802677709c98adbec86
7
- data.tar.gz: d80449b8a95bc8af7e16e0279dd6faaf1dcb84549aef51e95eea579d4d54c1efe5b08bc58c7641614adc112fad37cc153b44fbd2837c97ee489e3a85c946e052
6
+ metadata.gz: b19221fc40f6ed5582d828424f24ee715cc9208cd3a592bee8def42ad56068c6c66d2fe7689efc525608aeb17d07d04403bb74029fb17d94763815cc03a5f5b3
7
+ data.tar.gz: dab38ff12ecc8d5f71a0ea4c617ecb796ff34a51c62740c7d982e00cac7ad2cb008c7e810ca039a49e574d728f0199fcdaa7e52e7d2c7080e0ea9239e5899df5
@@ -16,7 +16,7 @@ module Fastlane
16
16
  result_bundle_object_raw = sh("xcrun xcresulttool get --path #{xcresult_path.shellescape} --format json", print_command: false, print_command_output: false)
17
17
  result_bundle_object = JSON.parse(result_bundle_object_raw)
18
18
 
19
- # Parses JSON into ActionsInvocationRecord to find a list of all ids for ActionTestPlanRunSummaries
19
+ # Parses JSON into ActionsInvocationRecord to find a list of all ids for ActionTestPlanRunSummaries.
20
20
  actions_invocation_record = Trainer::XCResult::ActionsInvocationRecord.new(result_bundle_object)
21
21
  test_refs = actions_invocation_record.actions.map do |action|
22
22
  action.action_result.tests_ref
@@ -34,13 +34,14 @@ module Fastlane
34
34
  failed = []
35
35
  passing = []
36
36
  failure_details = {}
37
- rows = testable_summaries.map do |testable_summary|
37
+ testable_summaries.map do |testable_summary|
38
+ target_name = testable_summary.target_name
38
39
  all_tests = testable_summary.all_tests.flatten
39
40
  all_tests.each do |t|
40
41
  if t.test_status == 'Success'
41
- passing << "#{t.parent.name}/#{t.identifier}"
42
+ passing << "#{target_name}/#{t.identifier.sub('()', '')}"
42
43
  else
43
- test_identifier = "#{t.parent.name}/#{t.identifier}"
44
+ test_identifier = "#{target_name}/#{t.identifier.sub('()', '')}"
44
45
  failed << test_identifier
45
46
  failure = t.find_failure(failures)
46
47
  if failure
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module TestCenter
3
- VERSION = "3.15.1"
3
+ VERSION = "3.15.2"
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.15.1
4
+ version: 3.15.2
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-12-23 00:00:00.000000000 Z
11
+ date: 2021-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json