rainforest-cli 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/lib/rainforest/cli.rb +1 -0
- data/lib/rainforest/cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e3a484bd94488a210728f2a47ea8d10e72d1910a
|
|
4
|
+
data.tar.gz: 2690b22660e7ab92114a66a5f3c431f6b7cdbb6c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51edacba7bc21caf29103f7b51e453c246935b6a997b5919e5997de0bf52f7cbcc53f0523020fb1ef2db5f3852d5b8f5e5eaf2164644e13548f93a9ce7b35d00
|
|
7
|
+
data.tar.gz: 63b6e946f0c31eaf449b53e97f2c63ef76bd93dc49c319c671b00274bb51a3bba8914752ed7511755d0eb4ea5f1758e12e514eeab39440d58edeb27a224e4873
|
data/README.md
CHANGED
|
@@ -38,7 +38,7 @@ rainforest run all --fg --token YOUR_TOKEN_HERE
|
|
|
38
38
|
Run all tests with tag 'run-me' and abort previous in-progress runs.
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
rainforest run --tag run-me --fg --conflict abort --token YOUR_TOKEN_HERE
|
|
41
|
+
rainforest run --tag run-me --fg --conflict abort --token YOUR_TOKEN_HERE
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
|
|
@@ -51,17 +51,19 @@ Required:
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
### Running Tests
|
|
54
|
-
The options are:
|
|
54
|
+
The most popular options are:
|
|
55
55
|
|
|
56
56
|
- `--browsers ie8` or `--browsers ie8,chrome` - specficy the browsers you wish to run against. This overrides the test own settings. Valid browsers are ie8, ie9, chrome, firefox and safari.
|
|
57
57
|
- `--tag run-me` - only run tests which have this tag (recommended if you have lots of [test-steps](http://docs.rainforestqa.com/pages/example-test-suite.html#test_steps))!)
|
|
58
58
|
- `--site-id` - only run tests for a specific site. Get in touch with us for help on getting that you site id if you are unable to.
|
|
59
59
|
- `--conflict abort` - if you trigger rainforest more than once, anything running will be aborted and a fresh run started
|
|
60
|
-
- `--fg` - results in the foreground - rainforest-cli will not return until the run is complete. This is what you want to make the build pass / fail dependent on rainforest results
|
|
60
|
+
- `--fg` - results in the foreground - rainforest-cli will not return until the run is complete. This is what you want to make the build pass / fail dependent on rainforest results
|
|
61
61
|
- `--fail-fast` - fail the build as soon as the first failed result comes in. If you don't pass this it will wait until 100% of the run is done. Use with `--fg`.
|
|
62
62
|
- `--custom-url` - use a custom url for this run. Example use case: an ad-hoc QA environment with [Fourchette](https://github.com/rainforestapp/fourchette). You will need to specify a `site_id` too for this to work. Note that we will be creating a new environment for this particular run.
|
|
63
63
|
- `--git-trigger` - only trigger a run when the last commit (for a git repo in the current working directory) has contains `@rainforest` and a list of one or more tags. E.g. "Fix checkout process. @rainforest #checkout" would trigger a run for everything tagged `checkout`. This over-rides `--tag` and any tests specified. If no `@rainforest` is detected it will exit 0.
|
|
64
64
|
|
|
65
|
+
More detailed info on options can be [found here](https://github.com/rainforestapp/rainforest-cli/blob/master/lib/rainforest/cli/options.rb#L23-L74).
|
|
66
|
+
|
|
65
67
|
## Support
|
|
66
68
|
|
|
67
69
|
Email [help@rainforestqa.com](mailto:help@rainforestqa.com) if you're having trouble using this gem or need help to integrate Rainforest in your CI or deployment flow.
|
data/lib/rainforest/cli.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rainforest-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Simon Mathieu
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
12
|
+
date: 2015-05-15 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httparty
|