From fa39628baa57b5746c296bc612f8ae4e45bc3100 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 19 Nov 2015 11:00:35 -0800 Subject: [PATCH] how to run parallel test --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ef135a..a0c1e7a 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,14 @@ -To run manually on CI: +### To run manually on CI + cd ~/app export BOX_VERSION= + 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 export BOX_VERSION= 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"