Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gkushang/shopnemo
shop acceptance with nemo, attach screenshot to HTML report when test fails. Add sauce labs information to report if test runs on sauce labs. Multi-browser configuration for sauce labs with nemo.
https://github.com/gkushang/shopnemo
Last synced: about 2 months ago
JSON representation
shop acceptance with nemo, attach screenshot to HTML report when test fails. Add sauce labs information to report if test runs on sauce labs. Multi-browser configuration for sauce labs with nemo.
- Host: GitHub
- URL: https://github.com/gkushang/shopnemo
- Owner: gkushang
- Created: 2015-05-13T13:54:42.000Z (over 9 years ago)
- Default Branch: develop
- Last Pushed: 2015-06-04T20:11:03.000Z (over 9 years ago)
- Last Synced: 2024-10-12T03:14:28.839Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 633 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Shop Acceptance tests
```javascript
$ npm install --registry http://npm.paypal.com
```#### run Acceptance tests locally
```javascript
$ NODE_ENV=prod grunt acceptance
```#### run Smoke test locally
smoke test runs all the cucumber tests tagged with @p1
```javascript
$ NODE_ENV=prod grunt smoke
```#### run tests on sauce labs
Pass a `SAUCE` parameter with the browser name. `shopNemo` is configured to run test on sauce labs Firefox and Chrome browser, more browsers will be added soon.Note: SAUCE parameter will launch a `SauceConnect` to proxy the tests.
to run test on sauce labs Firefox browser
```javascript
$ NODE_ENV=prod SAUCE=firefox grunt acceptance
```to run test on sauce labs Chrome browser
```javascript
$ NODE_ENV=prod SAUCE=chrome grunt acceptance
```#### run specific cucumber tags
e.g. below command will run two tests
```javascript
$ NODE_ENV=prod grunt acceptance --tags=@affiliate_details_tile,@affiliate_details_modal
```#### debug tests
```javascript
$ NODE_ENV=prod DEBUG=nemo* grunt acceptance
```