shiftleft-runner

0.1.0 • Public • Published

Test Scheduler for shift-left

Prerequisites

Must have

  • node : v0.10.30 and above
  • npm : v1.7.0 and above

Recommended

Install & Run

Install

  1. 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
  1. install node and npm via nvm
nvm install 0.10.30
nvm use 0.10.30
npm install npm@2.13.1 -g
  1. git clone this repo git clone git@github.com:shift-left/shiftleft-runner.git
  2. change directory to shiftleft-runner, then npm install

Run

  1. to list necessary parameters ./src/bin/shift --help
  2. currently shiftleft-runner provides demo tests in the same repo. for example, you can review and run them by
  3. 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
```
  1. 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
```

Package Sidebar

Install

npm i shiftleft-runner

Weekly Downloads

4

Version

0.1.0

License

Apache-2.0

Last publish

Collaborators

  • thunderzhulei