cloudron-e2e-test/README.md
2015-11-19 11:00:35 -08:00

16 lines
512 B
Markdown

### To run manually on CI
cd ~/app
export BOX_VERSION=<version_to_test>
pm2-run --ecosystem ../ecosystem.json --env staging --cmd "npm test"
OR
pm2-run --ecosystem ../ecosystem.json --env staging --cmd ./parallel_test.sh
### To run specific test on CI
cd ~/app
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"