fastlane-plugin-test_center 3.0.1 → 3.0.2

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: e52d3f37f8075a9050200d5d5cf19b8fa0b02fb8
4
- data.tar.gz: b2c7b4dd8c192c105dbb71a8aa390425c856aa24
3
+ metadata.gz: 348e94937687f09bce67cd8c96625e5aafe0dc0e
4
+ data.tar.gz: ec9347e0bb4aa56cc1ff0ca5ccdb148b300f4e96
5
5
  SHA512:
6
- metadata.gz: 4dc6d5e02ea3c35c4504a493b4c0e3197576acaf203b5f92fffb3487a28f5e3309943df72b852df10d012374066f63949a570b319b768046eec2c67113cc342c
7
- data.tar.gz: 9b6c0b59e057fe140964369185e2c9373939441f031d5ce19570d521fd961b64ef4d8539f30ccab2a8772fcc7084c13e1436cd2bfeceec739d23f9ecd2660565
6
+ metadata.gz: d7217d44004bcb4a02f9433f37b9eb6359b6ccfcbe91d6d7b61d02f86d5d83fed7303d9f1528cb3ea63683eb3e125a10a96bfe0055977ebf611c443e0219300b
7
+ data.tar.gz: 5c8846d7dbf7b4fe52c97e03edb2804619c7b51411640afc05b9bfd158d528464366b29e2522a7db06b9ad6d22f3727e4be1909c4fb3caf82189731b5a90860a
@@ -89,6 +89,19 @@ module Fastlane
89
89
  "batched, or have multiple test targets and need meaningful junit reports."
90
90
  end
91
91
 
92
+ def self.return_value
93
+ "Returns a Hash with the following value-key pairs:\n" \
94
+ "- result: true if the final result of running the tests resulted in " \
95
+ "passed tests. false if there was one or more tests that failed, even " \
96
+ "after retrying them :try_count times.\n" \
97
+ "- total_tests: the total number of tests visited.\n" \
98
+ "- passing_testcount: the number of tests that passed.\n" \
99
+ "- failed_testcount: the number of tests that failed, even after retrying them.\n" \
100
+ "- failed_tests: an array of the test identifers that failed.\n" \
101
+ "- total_retry_count: the total number of times a test 'run' was retried.\n" \
102
+ "- report_files: the list of junit report files generated by multi_scan."
103
+ end
104
+
92
105
  def self.scan_options
93
106
  ScanAction.available_options
94
107
  end
@@ -120,7 +133,8 @@ module Fastlane
120
133
  description: 'A block invoked each time a test run completes',
121
134
  optional: true,
122
135
  is_string: false,
123
- default_value: nil
136
+ default_value: nil,
137
+ type: Proc
124
138
  )
125
139
  ]
126
140
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module TestCenter
3
- VERSION = "3.0.1"
3
+ VERSION = "3.0.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.0.1
4
+ version: 3.0.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: 2018-02-14 00:00:00.000000000 Z
11
+ date: 2018-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plist
@@ -180,7 +180,7 @@ dependencies:
180
180
  version: '0'
181
181
  description: |2
182
182
  This fastlane plugin includes the following actions:
183
- 1) multi_scan: uses scan to run Xcode tests a given number of times: only re-testing failing tests.
183
+ 1) multi_scan: uses scan to run Xcode tests, optionally in batches, a given number of times: only re-testing failing tests.
184
184
  2) suppress_tests_from_junit: uses a junit xml report file to suppress either passing or failing tests in an Xcode Scheme.
185
185
  3) suppress_tests: suppresses specific tests in a specific or all Xcode Schemes in a given project.
186
186
  4) suppressed_tests: retrieves a list of tests that are suppressed in a specific or all Xcode Schemes in a project.