fastlane-plugin-saucectl 0.1.2.pre → 0.1.5.pre

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: 2bb0bc0c918e497c8c4ec0d560635d0a059bed8d5456c6df34f33a5aa626d9ba
4
- data.tar.gz: 9f4626de2b041b65e8fd0882726f29ef1053ed8054499a704b13ca96773300fc
3
+ metadata.gz: 0e8ebb5a262c386ebc64f2964179acfd65354df626d62b418a29a8ab3d41a0f5
4
+ data.tar.gz: 1682d0941237bad34d29b012fcddccbb4cfa2d7da16d5412dcb6d330202bb67a
5
5
  SHA512:
6
- metadata.gz: 14a4fdcd1d5ce125a1d08af53d51f5c82fcc44cdd4dbab14e315cd6b417daedd41d7c7be6c3a8d420211b6697bf340e40fb1749331f6aff34db9c930f4365967
7
- data.tar.gz: c07918fee9b5067146ea9b840d11c495218bb21229cf22221ed217a25574beacfba97902fffb4fc24484d13d1a89a267dcc4d1524d2946e1db7a026166e96380
6
+ metadata.gz: 26c29ac5d4aad6bb912533b43c382cd63418d890a5d467122679d043bf3a3c1b074895761fba59e21b723dc3f20f1add2139ce4ad64ed44884d9839c03458630
7
+ data.tar.gz: 77e8448cb56e675c049a6be97bd04b6b3d3499dddd3d930bf21193d962b9eda2e50165fe218ef9eed9f345300bf0b9e04b2decd136f98e4564104c99fef3dfe5
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Ian Hamilton <ian.ross.hamilton@gmail.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,80 @@
1
+ # fastlane-plugin-saucectl
2
+
3
+ [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-saucectl)
4
+ [![codecov](https://codecov.io/gh/ianrhamilton/fastlane-plugin-rsaucectl/branch/main/graph/badge.svg?token=NSVhqgYFYv)](https://codecov.io/gh/ianrhamilton/fastlane-plugin-saucectl)
5
+
6
+ ## Getting Started
7
+
8
+ This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-saucectl`, add it to your project by running:
9
+
10
+ ```bash
11
+ fastlane add_plugin saucectl
12
+ ```
13
+
14
+ ## About fastlane-plugin-saucectl
15
+
16
+ The purpose of this plugin is to simplify the set up, configuration, upload, and execution of espresso and XCUITest on the Sauce Labs platform by utilizing fastlane which will enable you to test your iOS and Android apps at scale.
17
+
18
+ **IMPORTANT:** in order for you to use this plugin to execute UI tests, your test class names must proceed with Spec, Specs, Tests, or Test, for example ExampleSpec, ExampleSpecs, ExampleTest, ExampleTests. Your test case names must also begin with test, for example testIDoSomething, testIDoSomethingElse. This is so that the the plugin can search for test classes and their included test cases.
19
+
20
+ Failure to do this will result in missing test classes and test cases from your test run.
21
+
22
+ **For a detailed introduction to each of the actions available within this plugin, please see the [documentation](https://ianrhamilton.github.io/fastlane-plugin-saucectl/#fastlane-plugin-saucectl)**.
23
+
24
+ | Available Actions | Description |
25
+ |---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
26
+ | `install_saucectl` | Downloads the Sauce Labs saucectl cli binary for test execution |
27
+ | `sauce_upload` | Upload test artifacts to sauce labs storage |
28
+ | `sauce_config` | Create SauceLabs configuration file for test execution based on given parameters |
29
+ | `sauce_runner` | Execute automated tests on sauce labs platform via saucectl binary for specified configuration |
30
+ | `delete_from_storage` | Delete test artifacts from sauce labs storage by storage id or group id |
31
+ | `sauce_apps` | Returns the set of files by specific app id that have been uploaded to Sauce Storage by the requester |
32
+ | `sauce_devices` | Returns a list of Device IDs for all devices in the data center that are currently free for testing. |
33
+ | `disabled_tests` | Fetches any disabled ui test cases (for android searches for @Ignore tests, and for ios skipped tests within an xcode test plan). Plan is to use this in the future for generating pretty HTML reports |
34
+
35
+ An order of which you may utilize the above actions in your continuous integration platform could be:
36
+ 1. Install the saucectl binary via `install_saucectl`
37
+ 2. Upload your test artifacts to Sauce Labs storage (for example app apk, and test runner apk)
38
+ 3. Create config.yml for given parameters via `sauce_config`
39
+ 4. Execute test based on specified config via `sauce_runner`
40
+ 5. Delete test artifacts via `delete_from_storage` so that your storage does not fill up (if you're executing tests on every PR, for example)
41
+
42
+ ## Example
43
+
44
+ Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
45
+
46
+ **Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
47
+
48
+ ## Run tests for this plugin
49
+
50
+ To run both the tests, and code style validation, run
51
+
52
+ ```
53
+ rake
54
+ ```
55
+
56
+ To automatically fix many of the styling issues, use
57
+ ```
58
+ rubocop -a
59
+ ```
60
+
61
+ ## Issues and Feedback
62
+
63
+ For any other issues and feedback about this plugin, please submit it to this repository.
64
+
65
+ ## Troubleshooting
66
+
67
+ If you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.
68
+
69
+ ## Using _fastlane_ Plugins
70
+
71
+ For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).
72
+
73
+ ## About _fastlane_
74
+
75
+ _fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
76
+
77
+ ## Buy me a coffee
78
+ If you're enjoying this plugin, feel free to **optionally** buy me a coffee :)
79
+
80
+ [!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/ianrhamilton)
@@ -0,0 +1,12 @@
1
+ ---
2
+ platform_error: "No platform specified, set using: platform: 'android'"
3
+ app_path_error: "No App path given, set using: app_path: 'path/to/my/testApp.apk'"
4
+ file_error: "No file path given, set using: app_path: 'path/to/my/testApp.apk'"
5
+ app_name_error: "No App name given, set using: app_name: 'testApp.apk'"
6
+ test_runner_app_error: "No Test runner application given, set using: test_runner_app: 'testRunnerApp.apk'"
7
+ region_error: "$region is an invalid region. Supported regions are 'us' and 'eu'"
8
+ sauce_username_error: "No sauce labs username provided, set using: sauce_username: 'sauce user name', or consider setting your credentials as environment variables."
9
+ sauce_api_key_error: "No sauce labs access key provided, set using: sauce_access_key: '1234' or consider setting your credentials as environment variables."
10
+ supported_regions: ['us', 'eu']
11
+ accepted_file_types: ['.apk', '.aab', '.ipa', '.zip']
12
+ missing_file_name: "Please specify the name of the app that you wish to query on sauce storage"
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Saucectl
3
- VERSION = "0.1.2.pre"
3
+ VERSION = "0.1.5.pre"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-saucectl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.pre
4
+ version: 0.1.5.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Hamilton
@@ -170,6 +170,8 @@ executables: []
170
170
  extensions: []
171
171
  extra_rdoc_files: []
172
172
  files:
173
+ - LICENSE
174
+ - README.md
173
175
  - lib/fastlane/plugin/saucectl.rb
174
176
  - lib/fastlane/plugin/saucectl/actions/delete_from_storage_action.rb
175
177
  - lib/fastlane/plugin/saucectl/actions/disabled_tests_action.rb
@@ -188,6 +190,7 @@ files:
188
190
  - lib/fastlane/plugin/saucectl/helper/storage.rb
189
191
  - lib/fastlane/plugin/saucectl/helper/suites.rb
190
192
  - lib/fastlane/plugin/saucectl/helper/xctest.rb
193
+ - lib/fastlane/plugin/saucectl/strings/messages.yml
191
194
  - lib/fastlane/plugin/saucectl/version.rb
192
195
  homepage: https://github.com/ianrhamilton/fastlane-plugin-saucectl
193
196
  licenses:
@@ -212,5 +215,7 @@ requirements: []
212
215
  rubygems_version: 3.3.7
213
216
  signing_key:
214
217
  specification_version: 4
215
- summary: Test your iOS and and Android apps at scale using Sauce Labs toolkit.
218
+ summary: Simplify the set up, configuration, upload, and execution of espresso and
219
+ XCUITest on the Sauce Labs platform by utilizing fastlane which will enable you
220
+ to test your iOS and Android apps at scale
216
221
  test_files: []