-
Notifications
You must be signed in to change notification settings - Fork 42
Testing
jason humphrey edited this page Dec 31, 2016
·
6 revisions
# Make sure you haves a selenium sever on
# https://www.npmjs.com/package/selenium-standalone
npm test
npm install -g nightwatch
nightwatch
# or
npm run e2e
npm install -g karma
karma start tests/unit/karma.test.js
# or
npm run karma
npm install -g mocha
mocha tests/unit/mocha.test.js
# or
npm run mocha
npm install -g standard
standard
# or
npm run standard
Easiest way to start testing your whole system
npm run cli
# select - Install Selenium Server
# once installed - Start Selenium Server
npm test
Note you must have mongodb running and if you dont then
npm run cli
# the select - Install MongoDB
# in a new window or tab select - Start Mongod
Copyright © Green Pioneer Solutions, LLC 2014 -2017