shiftleft-runner
v0.1.0
Published
test runner for shiftleft.co
Downloads
4
Maintainers
Readme
Test Scheduler for shift-left
Prerequisites
Must have
- node : v0.10.30 and above
- npm : v1.7.0 and above
Recommended
- nvm : http://github.com/creationix/nvm
Install & Run
Install
- follow instruction on http://github.com/creationix/nvm to install
nvm
, or simply use follow cmd
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | bash
- install
node
andnpm
vianvm
nvm install 0.10.30
nvm use 0.10.30
npm install [email protected] -g
- git clone this repo
git clone [email protected]:shift-left/shiftleft-runner.git
- change directory to shiftleft-runner, then
npm install
Run
to list necessary parameters
./src/bin/shift --help
currently shiftleft-runner provides demo tests in the same repo. for example, you can review and run them by
to run all tests in firefox and chrome in parallel by 4 testers
./src/bin/shift --group ./test/tests --config ./src/bin/shift_conf.json --browsers firefox,chrome --testers 4
to run tests by tags
smoke
in chrome in parallen by 2 testers, retry 2 times in total for failures./src/bin/shift --group ./test/tests --config ./src/bin/shift_conf.json --browsers chrome --testers 2 --tags smoke --retries 2