fastlane-plugin-try_adb_test 1.0.0 → 1.0.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: 1cfdafeafb66e3809febbca5b7a636e36829909ad626a40bb14a15fe88cb40e6
4
- data.tar.gz: 314839cb6a51634853e9e5530869a1cfe008aa4d55f8736c0ba9633f95209d98
3
+ metadata.gz: 573bf11d732f991e7afc2e9aaaba199953e41a73f85aa53bf71b540e73781b80
4
+ data.tar.gz: 312e06b76427e6745467a9b7a793e97f8f14b64e68ccb968b78a1c8fff2ecfc9
5
5
  SHA512:
6
- metadata.gz: cf3476098e03fe1c89f62a61b03a33be502be476d57531fb250550c41bcdc425e57c8ba9446acd2b4d3fb23276e2a4e7732620948c09fa2d2c75221f7af0cbbb
7
- data.tar.gz: 0702dfcab41a15e1b2934eb795af7bf618ece12b512442527fb42688705bc3d17d83da20675ade2ed5c68b0c9a0c9614bf70b0a44a6a02486cb4f3f5957d74b2
6
+ metadata.gz: d4d38648d5aa932fc5fafc43ce987e354f3c530f1b99df22c2e71152481fe709718f8c6d3d3abad1533679d9d3d35d20d04a798107fb02a85826bc89aad06bb3
7
+ data.tar.gz: d0c5f55f63ec0d77a4656f2837984b86b4f954a5267e434012c31c8b40db7c9092d2c6ff32ef2527fbe7d4ab8aac26cf0ea6b4a8eda2690ef9006f46b9944a78
data/README.md CHANGED
@@ -2,10 +2,12 @@
2
2
 
3
3
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-try_adb_test)
4
4
 
5
- ## About try_scan
5
+ ## About try_adb_test
6
6
 
7
7
  The easiest way to retry your Android Instrumented Tests 🚀
8
8
 
9
+ Under the hood `try_adb_test` uses the stable version of the marvelous [`gojuno composer`](https://github.com/gojuno/composer) and allows you to customize your retry strategy.
10
+
9
11
  | Option | Description | Default |
10
12
  | ------- |------------ | ------- |
11
13
  | apk | Either relative or absolute path to application apk that needs to be tested | |
@@ -14,12 +16,13 @@ The easiest way to retry your Android Instrumented Tests 🚀
14
16
  | try_count | Number of times to try to get your tests green | 1 |
15
17
  | shard | Either true or false to enable/disable [test sharding](https://developer.android.com/training/testing/junit-runner.html#sharding-tests) which statically shards tests between available devices/emulators | true |
16
18
  | output_directory | Either relative or absolute path to directory for output: reports, files from devices and so on | fastlane/output |
17
- | instrumentation_arguments | Key-value pairs to pass to Instrumentation Runner | |
19
+ | instrumentation_arguments | Key-value pairs to pass to Instrumentation Runner | Empty |
18
20
  | verbose | Either true or false to enable/disable verbose output for Composer | false |
19
- | devices | Connected devices/emulators that will be used to run tests against. Example: "emulator-5554 emulator-5556" | |
20
- | device_pattern | Connected devices/emulators that will be used to run tests against. Example: "emulator.+" | |
21
+ | devices | Connected devices/emulators that will be used to run tests against. Example: "emulator-5554 emulator-5556" | Empty, tests will run on all connected devices/emulators |
22
+ | device_pattern | Connected devices/emulators that will be used to run tests against. Example: "emulator.+" | Empty, tests will run on all connected devices/emulators |
23
+ | fail_if_no_tests | Either true or false to enable/disable error on empty test suite | true |
21
24
  | install_timeout | Apk installation timeout in seconds. Applicable to both test Apk and Apk under test | 120 |
22
- | extra_apks | Apks to be installed for utilities. What you would typically declare in gradle as androidTestUtil. Example: "path/to/apk/first.apk path/to/apk/second.apk" | |
25
+ | extra_apks | Apks to be installed for utilities. What you would typically declare in gradle as androidTestUtil. Example: "path/to/apk/first.apk path/to/apk/second.apk" | Empty |
23
26
 
24
27
  ## Requirements
25
28
 
@@ -45,6 +45,7 @@ module Fastlane
45
45
  " --instrumentation-arguments #{instrumentation_arguments}" \
46
46
  " --verbose-output #{params[:verbose]}" \
47
47
  " --install-timeout #{params[:install_timeout]}" \
48
+ " --fail-if-no-tests #{params[:fail_if_no_tests]}" \
48
49
  " --shard #{params[:shard]}" \
49
50
  " #{test_runner}" \
50
51
  " #{devices}" \
@@ -153,6 +154,12 @@ module Fastlane
153
154
  optional: true,
154
155
  is_string: false,
155
156
  type: Boolean),
157
+ FastlaneCore::ConfigItem.new(key: :fail_if_no_tests,
158
+ description: "Either true or false to enable/disable error on empty test suite",
159
+ default_value: true,
160
+ optional: true,
161
+ is_string: false,
162
+ type: Boolean),
156
163
  FastlaneCore::ConfigItem.new(key: :extra_apks,
157
164
  description: "Apks to be installed for utilities. What you would typically declare in gradle as androidTestUtil",
158
165
  default_value: '',
@@ -1,6 +1,6 @@
1
1
  module Fastlane
2
2
  module TryAdbTest
3
- PLUGIN_VERSION = "1.0.0"
3
+ PLUGIN_VERSION = "1.0.1"
4
4
  COMPOSER_VERSION = "0.6.0"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-try_adb_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Alter-Pesotskiy