Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
simondean committed May 5, 2013
0 parents commit fd65c28
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
npm-debug.log
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.idea/
*.iml
temp.js
tmp/
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License

Copyright (c) 2013 Simon Dean

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# myriad-cucumber-js-example

Example of how to use myriad-cucumber to execute cucumber-js tests in
parallel across multiple processes or machines.

## Usage

### Install

Install the codebase's dependencies with:

``` shell
$ npm install --dev
```

### Run

The tests are executed by running

``` shell
$ node_modules/.bin/myriad-server &
$ node_modules/.bin/myriad-cucumber --workers 4 --myriad-server http://localhost:7777 --local-package
```
14 changes: 14 additions & 0 deletions myriad-cucumber.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
package: '.',
features: ['features'],
profiles: {
blue: {
bin: 'node_modules/.bin/cucumber-js',
args: ['-format', 'json', '-t', '@blue']
},
red: {
bin: 'node_modules/.bin/cucumber-js',
args: ['-format', 'json', '-t', '@red']
}
}
};
37 changes: 37 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "myriad-cucumber-js-example",
"description": "Example of how to use myriad-cucumber to execute cucumber-js tests in parallel across multiple processes or machines",
"keywords": [
"cucumber",
"cucumber-js",
"grid",
"parallel",
"scale",
"myriad",
"myriad-cucumber"
],
"version": "0.1.0",
"homepage": "http://github.com/simondean/myriad-cucumber-js-example",
"author": "Simon Dean <simon@simondean.org> (http://www.simondean.org)",
"contributors": [],
"repository": {
"type": "git",
"url": "git://github.com/simondean/myriad-cucumber-js-example.git"
},
"bugs": {
"url": "http://github.com/simondean/myriad-cucumber-js-example/issues"
},
"engines": {
"node": ">=0.6"
},
"dependencies": {
"cucumber": "~0.3.0"
},
"devDependencies": {},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/simondean/myriad-cucumber-js-example/LICENSE"
}
]
}

0 comments on commit fd65c28

Please sign in to comment.