fastlane-plugin-aws_device_farm 0.3.10 → 0.3.11.pre.alpha.pre.98
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: 299ad319fa5767c000788f331b2b916a410d1827f15b8fcc0145d8980b6608c7
|
4
|
+
data.tar.gz: c46d6e611852b9dc71ee34359bf4ba13f5a3369c401306853bbc5f6275b8aad3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd9b318893a757012337ed7ab45300c89f7d1176f538a03591ec84a20648775a104a28aa1a7deb3c5c2b9c0074d235e94835c63077783366e27150ad6067a232
|
7
|
+
data.tar.gz: 184e832024081238a3320f64832802a95fa52c7598ac7603052c09b4959855d8b5d9daa8bd28c1ac24ca121abc8c4bdb4845728fa276985b127f07a5b7aa9d1a
|
@@ -12,7 +12,7 @@ module Fastlane
|
|
12
12
|
|
13
13
|
# Fetch the project
|
14
14
|
project = fetch_project params[:name]
|
15
|
-
raise "Project '#{params[:name]}' not
|
15
|
+
raise "Project '#{params[:name]}' not found on AWS - please go to 'Device Farm' and create a project named: 'fastlane', or set the 'name' parameter with your custom message." if project.nil?
|
16
16
|
|
17
17
|
# Fetch the device pool.
|
18
18
|
device_pool = fetch_device_pool project, params[:device_pool]
|
@@ -36,7 +36,9 @@ module Fastlane
|
|
36
36
|
else
|
37
37
|
if type == "ANDROID_APP"
|
38
38
|
test_upload = create_project_upload project, test_path, 'INSTRUMENTATION_TEST_PACKAGE'
|
39
|
-
|
39
|
+
elsif params[:is_unit_test] == true
|
40
|
+
test_upload = create_project_upload project, test_path, 'XCTEST_TEST_PACKAGE'
|
41
|
+
else
|
40
42
|
test_upload = create_project_upload project, test_path, 'XCTEST_UI_TEST_PACKAGE'
|
41
43
|
end
|
42
44
|
end
|
@@ -354,9 +356,12 @@ module Fastlane
|
|
354
356
|
if params[:test_type]
|
355
357
|
test_hash[:type] = params[:test_type]
|
356
358
|
else
|
357
|
-
test_hash[:type] = 'XCTEST_UI'
|
358
359
|
if type == "ANDROID_APP"
|
359
360
|
test_hash[:type] = 'INSTRUMENTATION'
|
361
|
+
elsif params[:is_unit_test] == true
|
362
|
+
test_hash[:type] = 'XCTEST'
|
363
|
+
else
|
364
|
+
test_hash[:type] = 'XCTEST_UI'
|
360
365
|
end
|
361
366
|
end
|
362
367
|
|
@@ -53,6 +53,17 @@ module Fastlane
|
|
53
53
|
is_string: true,
|
54
54
|
optional: true,
|
55
55
|
default_value: "Development"
|
56
|
+
),
|
57
|
+
FastlaneCore::ConfigItem.new(
|
58
|
+
key: :is_unit_test,
|
59
|
+
env_name: 'FL_AWS_DEVICE_FARM_IS_UNIT_TEST',
|
60
|
+
description: 'Specify is_unit_test to true if this is an iOS unit test',
|
61
|
+
is_string: false,
|
62
|
+
optional: true,
|
63
|
+
default_value: false,
|
64
|
+
verify_block: proc do |value|
|
65
|
+
UI.user_error!("Please pass a valid value for is_unit_test. Use one of the following: true, false") unless value.kind_of?(TrueClass) || value.kind_of?(FalseClass)
|
66
|
+
end
|
56
67
|
)
|
57
68
|
]
|
58
69
|
end
|
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.11.pre.alpha.pre.98
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Helmut Januschka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -136,12 +136,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
136
136
|
version: '0'
|
137
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
138
|
requirements:
|
139
|
-
- - "
|
139
|
+
- - ">"
|
140
140
|
- !ruby/object:Gem::Version
|
141
|
-
version:
|
141
|
+
version: 1.3.1
|
142
142
|
requirements: []
|
143
143
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.7.
|
144
|
+
rubygems_version: 2.7.7
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: Run UI Tests on AWS Devicefarm
|