fastlane-plugin-aws_device_farm 0.3.11.pre.alpha.pre.101 → 0.3.11

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: c892d34c914e6f2212f4fa206ee53b413624d0c85c33541b45af28d3fc30f259
4
- data.tar.gz: 35ce5cba0258e861278df6ad5be53e9a298422a8ecfd0f5e21cdca488f747b7c
3
+ metadata.gz: 2483f883b0ce5ff0957d61f6203d3c3c671107281da0456f946b8378f291cd9b
4
+ data.tar.gz: 3aaaa70065e220ef1a92764190e3b491a021dd51b9261c1a1338d0228390ae67
5
5
  SHA512:
6
- metadata.gz: d102e2ad7ae440cdee99a725158e8f8bb3ab325084387e0dfca7946dc7327477c85ab3d987a2e8d3d16343f59f6da215f1740b955e0bf67e2d97e44ab88de25b
7
- data.tar.gz: 0cb62ddd147e7a33e3c1fa2577bc69c0d89ae80ccae26961fdafd512906c0f5ecbf090a1b76585eefd88cf9c4282dfec0f7e98f83ee02ad0536283c001a5dfc2
6
+ metadata.gz: 95025dc272ccddea7d7cc8b14a30cc582191f1e333f6de3d8461416dab70e2e3931f4f21276f594a37362d11fa198f162e670b703d0911091539076f38d3c024
7
+ data.tar.gz: 285c994758ccffd4bc1197f1b8020024e7d83d9a23c9329f73e99c57a25963f2c0711fe32f79c06b457be5bd9cf7aeddf16ed89813309f59b8566f0d3bc392ac
@@ -36,7 +36,7 @@ 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
- elsif params[:test_type] == 'XCTEST'
39
+ elsif params[:is_unit_test] == true
40
40
  test_upload = create_project_upload project, test_path, 'XCTEST_TEST_PACKAGE'
41
41
  else
42
42
  test_upload = create_project_upload project, test_path, 'XCTEST_UI_TEST_PACKAGE'
@@ -358,6 +358,8 @@ module Fastlane
358
358
  else
359
359
  if type == "ANDROID_APP"
360
360
  test_hash[:type] = 'INSTRUMENTATION'
361
+ elsif params[:is_unit_test] == true
362
+ test_hash[:type] = 'XCTEST'
361
363
  else
362
364
  test_hash[:type] = 'XCTEST_UI'
363
365
  end
@@ -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,7 +1,7 @@
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.11.pre.alpha.pre.101
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helmut Januschka
@@ -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: 1.3.1
141
+ version: '0'
142
142
  requirements: []
143
143
  rubyforge_project:
144
- rubygems_version: 2.7.7
144
+ rubygems_version: 2.7.2
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Run UI Tests on AWS Devicefarm