LMIS Chrome packaged app
- Install Chrome Node.js and Git
npm install -g karma grunt-cli bower
git clone https://github.com/eHealthAfrica/LMIS-Chrome.git
cd LMIS-Chrome && npm install; bower install
grunt serve
- Launch Chrome and browse to chrome://extensions
- Check "Developer Mode"
- Click "Load unpacked extension…" and select
/path/to/LMIS-Chrome/app
- Under the "LMIS Chrome" extension, click "Launch"
Use grunt test
for the complete test suite. npm test
is reserved for our
continuous integration server (TravisCI).
Use grunt test:unit
. During development, npm run-script test-watch
is
useful to automatically re-run the tests when a file changes.
-
Install selenium (one-time only):
./node_modules/grunt-protractor-runner/node_modules/protractor/bin/webdriver-manager update
-
grunt test:e2e
© 2014 eHealth Systems Africa