how to run parallel test
This commit is contained in:
parent
06e9c931df
commit
fa39628baa
10
README.md
10
README.md
@ -1,8 +1,14 @@
|
|||||||
To run manually on CI:
|
### To run manually on CI
|
||||||
|
cd ~/app
|
||||||
export BOX_VERSION=<version_to_test>
|
export BOX_VERSION=<version_to_test>
|
||||||
|
|
||||||
pm2-run --ecosystem ../ecosystem.json --env staging --cmd "npm test"
|
pm2-run --ecosystem ../ecosystem.json --env staging --cmd "npm test"
|
||||||
|
|
||||||
To run specific test on CI:
|
OR
|
||||||
|
|
||||||
|
pm2-run --ecosystem ../ecosystem.json --env staging --cmd ./parallel_test.sh
|
||||||
|
|
||||||
|
### To run specific test on CI
|
||||||
cd ~/app
|
cd ~/app
|
||||||
export BOX_VERSION=<version_to_test>
|
export BOX_VERSION=<version_to_test>
|
||||||
pm2-run --ecosystem ../ecosystem.json --env staging --cmd "DEBUG=superagent-sync,e2e:* DEBUG_COLORS=true ./node_modules/.bin/mocha --bail test/new-user-test.js"
|
pm2-run --ecosystem ../ecosystem.json --env staging --cmd "DEBUG=superagent-sync,e2e:* DEBUG_COLORS=true ./node_modules/.bin/mocha --bail test/new-user-test.js"
|
||||||
|
Loading…
Reference in New Issue
Block a user