fastlane-plugin-firebase_test_lab_android 0.2.0 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 786a49009739a2d4a0ec0baeabb02a35262608d52df8e7ebe837f513a758b3c5
|
4
|
+
data.tar.gz: 9c5ad898fc334310a2a97967ca13437f3ea4b7e3921a21350ff9992771d91fe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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", #
|
data/lib/fastlane/plugin/firebase_test_lab_android/actions/firebase_test_lab_android_action.rb
CHANGED
@@ -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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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",
|