fastlane-plugin-firebase_test_lab_android 0.2.0 → 0.2.1

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: 705bbfe9626de801abd2169fca83b037ae71c7bc9fd5d5300958a08b79c5fff9
4
- data.tar.gz: 3009df47e1a59d09685831273daff5bf910cbea7ed106c0c412655b0fa1e56ba
3
+ metadata.gz: 786a49009739a2d4a0ec0baeabb02a35262608d52df8e7ebe837f513a758b3c5
4
+ data.tar.gz: 9c5ad898fc334310a2a97967ca13437f3ea4b7e3921a21350ff9992771d91fe0
5
5
  SHA512:
6
- metadata.gz: 655cb13fd7ea93470302b3d085bcbcc843ec092e8843eed59b6588c062321adf07db8193e3100130d985dfd6fb3181c609fd7d5472b7f230c43200537dfc5759
7
- data.tar.gz: 4338095159fc6dcdf6ba7f7250ae9c676ce2f6f7a1fc354d8dc582988bd82d0c9865a289ff1f95cf0a461e9eb9edf5c032426749fcd538131efe1c573ccf7e2f
6
+ metadata.gz: 8de033345bad58b2298bece00413624ad2fd53729895b2ef7f93e59bdb6cf35034695176eebbf0038b39a613c060b0952dd181bc4a4607efa89c5ce25603a60d
7
+ data.tar.gz: 771ed744de186003baa25ec223b3ecf471f3fa9544ba8072237377bf323e803c04f0a3e9d18bd516d99924e4e505ebe6853003a10e129c39a83fed0bc9664823
data/README.md CHANGED
@@ -150,7 +150,8 @@ lane :test do
150
150
  }
151
151
  ],
152
152
  app_apk: "app-debug.apk", # The path for your android app apk.
153
- # app_test_apk: "app-test.apk", # The path for your android test apk.
153
+ # app_test_apk: "app-test.apk", # The path for your android instrumentation test apk.
154
+ # use_orchestrator: false, # If you use orchestrator when set instrumentation test.
154
155
  console_log_file_name: "fastlane/console_output.log",
155
156
  timeout: "3m",
156
157
  firebase_test_lab_results_bucket: "firebase_cats_test_bucket", #
@@ -17,9 +17,9 @@ module Fastlane
17
17
  Helper.authenticate(params[:gcloud_service_key_file])
18
18
  # Run Firebase Test Lab
19
19
  Helper.run_tests("--type #{params[:type]} "\
20
- "#{"--use-orchestrator " if params[:type] == "instrumentation"}"\
21
20
  "--app #{params[:app_apk]} "\
22
21
  "#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
22
+ "#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
23
23
  "#{params[:devices].map { |d| "--device model=#{d[:model]},version=#{d[:version]},locale=#{d[:locale]},orientation=#{d[:orientation]} " }.join}"\
24
24
  "--timeout #{params[:timeout]} "\
25
25
  "--results-bucket #{results_bucket} "\
@@ -127,36 +127,42 @@ module Fastlane
127
127
  FastlaneCore::ConfigItem.new(key: :timeout,
128
128
  env_name: "TIMEOUT",
129
129
  description: "The max time this test execution can run before it is cancelled. Default: 5m (this value must be greater than or equal to 1m)",
130
- is_string: true,
130
+ type: String,
131
131
  optional: true,
132
132
  default_value: "3m"),
133
133
  FastlaneCore::ConfigItem.new(key: :app_apk,
134
134
  env_name: "APP_APK",
135
135
  description: "The path for your android app apk",
136
- is_string: true,
136
+ type: String,
137
137
  optional: false),
138
138
  FastlaneCore::ConfigItem.new(key: :app_test_apk,
139
139
  env_name: "APP_TEST_APK",
140
140
  description: "The path for your android test apk. Default: empty string",
141
- is_string: true,
141
+ type: String,
142
142
  optional: true,
143
143
  default_value: nil),
144
+ FastlaneCore::ConfigItem.new(key: :use_orchestrator,
145
+ env_name: "USE_ORCHESTRATOR",
146
+ description: "If you use orchestrator when set instrumentation test . Default: false",
147
+ type: Boolean,
148
+ optional: true,
149
+ default_value: false),
144
150
  FastlaneCore::ConfigItem.new(key: :console_log_file_name,
145
151
  env_name: "CONSOLE_LOG_FILE_NAME",
146
152
  description: "The filename to save the output results. Default: ./console_output.log",
147
- is_string: true,
153
+ type: String,
148
154
  optional: true,
149
155
  default_value: "./console_output.log"),
150
156
  FastlaneCore::ConfigItem.new(key: :extra_options,
151
157
  env_name: "EXTRA_OPTIONS",
152
158
  description: "Extra options that you need to pass to the gcloud command. Default: empty string",
153
- is_string: true,
159
+ type: String,
154
160
  optional: true,
155
161
  default_value: ""),
156
162
  FastlaneCore::ConfigItem.new(key: :slack_url,
157
163
  env_name: "SLACK_URL",
158
164
  description: "If Notify to Slack after finishing of the test. Set your slack incoming webhook url",
159
- is_string: true,
165
+ type: String,
160
166
  optional: true,
161
167
  default_value: nil),
162
168
  FastlaneCore::ConfigItem.new(key: :firebase_test_lab_results_bucket,
@@ -238,6 +244,8 @@ module Fastlane
238
244
  }
239
245
  ],
240
246
  app_apk: "test.apk",
247
+ # app_test_apk: "androidTest.apk",
248
+ # use_orchestrator: false,
241
249
  console_log_file_name: "fastlane/console_output.log",
242
250
  timeout: "3m",
243
251
  firebase_test_lab_results_bucket: "firebase_cats_test_bucket",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module FirebaseTestLabAndroid
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-firebase_test_lab_android
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - wasabeef