fastlane-plugin-aws_device_farm 0.3.21 → 0.3.24
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: 70ca38199754fc9a977576361b8cd9591177da31eaf7f21622e69f21323b5d8a
|
4
|
+
data.tar.gz: 670199ee0e1592bb653e89cb6dda4562da9fee31dc5122260dc472f5cac783aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 142fca415e7a81535525a02e10a0597b5141af82e9cceb4df092c8a4b450e5a71e27474247184d992cec217ef009d0edb780d6ee10521dbe3b5d4fa803a65f3b
|
7
|
+
data.tar.gz: 67504e83a62b90713ebe61a2e01fadede9f19a243cacf1315acadc58037f2c009261c8807eaf6bdaa50bce428da1a0c3ef23548e3b1d9b8ef8a1662945a88786
|
data/README.md
CHANGED
@@ -84,21 +84,33 @@ The plugin also exposes two ENV variables in case you want to make additional ca
|
|
84
84
|
|
85
85
|
* **aws_device_farm**
|
86
86
|
|
87
|
-
| Option | Default | Description | Type |
|
88
|
-
|
89
|
-
| name | fastlane | AWS Device Farm Project Name | String |
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
87
|
+
| Option | Default | Description | Type | Required |
|
88
|
+
|---|---|---|---|---|
|
89
|
+
| name | `fastlane` | AWS Device Farm Project Name | String | :white_check_mark: |
|
90
|
+
| run_name | | Define the name of the device farm run | String | |
|
91
|
+
| binary_path | | Path to App Binary | String | :white_check_mark: |
|
92
|
+
| test_binary_path | | Path to test bundle | String | |
|
93
|
+
| test_package_type | | Type of test package | String | |
|
94
|
+
| test_type | | Type of test | String | |
|
95
|
+
| path | | Define the path of the application binary (apk or ipa) to upload to the device farm project | String | :white_check_mark: |
|
96
|
+
| device_pool | `IOS` | AWS Device Farm Device Pool | String | :white_check_mark: |
|
97
|
+
| network_profile_arn | | Network profile arn you want to use for running the applications | String | |
|
98
|
+
| wait_for_completion | `true` | Wait for Test-Run to be completed | Boolean | |
|
99
|
+
| allow_device_errors | `false` | Do you want to allow device booting errors? | Boolean | |
|
100
|
+
| allow_failed_tests | `false` | Do you want to allow failing tests? | Boolean | |
|
99
101
|
| filter | | Define a filter for your test run and only run the tests in the filter (note that using `test_spec` overrides the `filter` option) | String |
|
100
|
-
|
|
101
|
-
|
|
102
|
+
| billing_method | `METERED` | Specify the billing method for the run | String | |
|
103
|
+
| locale | `en_US` | Specify the locale for the run | String | |
|
104
|
+
| test_spec | | Define the device farm custom TestSpec ARN to use (can be obtained using the AWS CLI `devicefarm list-uploads` command) | String |
|
105
|
+
| print_web_url_of_run | `false` | Do you want to print the web url of run in the messages? | Boolean | |
|
106
|
+
| print_waiting_periods | `true` | Do you want to print `.` while waiting for a run? | Boolean | |
|
107
|
+
| junit_xml_output_path | `junit.xml` | JUnit xml output path | String | |
|
108
|
+
| junit_xml | `false` | Do you want to create JUnit.xml? | Boolean | |
|
109
|
+
| artifact | `false` | Do you want to download Artifact? | Boolean | |
|
110
|
+
| artifact_output_dir | `./test_outputs` | Artifact output directory | String | |
|
111
|
+
| artifact_types | `[]` | Specify the artifact types one wants to download | Array | |
|
112
|
+
| test_parameters | |The test's parameters, such as test framework parameters and fixture settings. Parameters are represented by name-value pairs of strings. | Hash | |
|
113
|
+
|
102
114
|
|
103
115
|
Possible types see: http://docs.aws.amazon.com/sdkforruby/api/Aws/DeviceFarm/Client.html#create_upload-instance_method
|
104
116
|
|
@@ -230,8 +230,7 @@ module Fastlane
|
|
230
230
|
key: :network_profile_arn,
|
231
231
|
env_name: 'FL_AWS_DEVICE_FARM_NETWORK_PROFILE_ARN',
|
232
232
|
description: 'Network profile arn you want to use for running the applications',
|
233
|
-
|
234
|
-
optional: false,
|
233
|
+
optional: true,
|
235
234
|
is_string: true
|
236
235
|
),
|
237
236
|
FastlaneCore::ConfigItem.new(
|
@@ -350,7 +349,19 @@ module Fastlane
|
|
350
349
|
'SCREENSHOT']
|
351
350
|
raise "Artifact type concludes invalid values are: '#{(value - valid_values)}'. 🙈".red unless (value - valid_values).empty?
|
352
351
|
end
|
353
|
-
)
|
352
|
+
),
|
353
|
+
FastlaneCore::ConfigItem.new(
|
354
|
+
key: :additional_configuration,
|
355
|
+
description: 'Additional configuration settings',
|
356
|
+
type: Hash,
|
357
|
+
optional: true,
|
358
|
+
),
|
359
|
+
FastlaneCore::ConfigItem.new(
|
360
|
+
key: :test_parameters,
|
361
|
+
description: 'The test parameters',
|
362
|
+
type: Hash,
|
363
|
+
optional: true,
|
364
|
+
),
|
354
365
|
]
|
355
366
|
end
|
356
367
|
|
@@ -418,6 +429,11 @@ module Fastlane
|
|
418
429
|
def self.schedule_run(name, project, device_pool, upload, test_upload, type, params)
|
419
430
|
# Prepare the test hash depening if you passed the test apk.
|
420
431
|
test_hash = { type: 'BUILTIN_FUZZ' }
|
432
|
+
|
433
|
+
if params[:test_parameters]
|
434
|
+
test_hash[:parameters] = params[:test_parameters]
|
435
|
+
end
|
436
|
+
|
421
437
|
if test_upload
|
422
438
|
if params[:test_type]
|
423
439
|
test_hash[:type] = params[:test_type]
|
@@ -444,9 +460,14 @@ module Fastlane
|
|
444
460
|
}
|
445
461
|
|
446
462
|
# Get the network profile from params if value is provided
|
447
|
-
|
448
|
-
|
449
|
-
|
463
|
+
if params[:network_profile_arn]
|
464
|
+
configuration_hash[:network_profile_arn] = params[:network_profile_arn]
|
465
|
+
end
|
466
|
+
|
467
|
+
# Add additional configuration arguments if provided.
|
468
|
+
if params[:additional_configuration]
|
469
|
+
configuration_hash.update(params[:additional_configuration])
|
470
|
+
end
|
450
471
|
|
451
472
|
@client.schedule_run({
|
452
473
|
name: name,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-aws_device_farm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Helmut Januschka
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
-
description:
|
111
|
+
description:
|
112
112
|
email: helmut@januschka.com
|
113
113
|
executables: []
|
114
114
|
extensions: []
|
@@ -125,7 +125,7 @@ homepage: https://github.com/hjanuschka/fastlane-plugin-aws_device_farm
|
|
125
125
|
licenses:
|
126
126
|
- MIT
|
127
127
|
metadata: {}
|
128
|
-
post_install_message:
|
128
|
+
post_install_message:
|
129
129
|
rdoc_options: []
|
130
130
|
require_paths:
|
131
131
|
- lib
|
@@ -140,8 +140,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: '0'
|
142
142
|
requirements: []
|
143
|
-
|
144
|
-
|
143
|
+
rubyforge_project:
|
144
|
+
rubygems_version: 2.7.7
|
145
|
+
signing_key:
|
145
146
|
specification_version: 4
|
146
147
|
summary: Run UI Tests on AWS Devicefarm
|
147
148
|
test_files: []
|