If you're setting up your environment to work on this project, there's a few things to do before you can start:
- Install node 0.10.32
- cd to the root of the source directory (where this file is)
- Run
npm run setup-dev-env
- Ensure you have the proper values for
AZURE_STORAGE_KEY
andAZURE_STORAGE_ACCOUNT
set in your environment.
In order to run the tests:
- Ensure Java is installed.
- Due to various bugs with Selenium, latest Chrome (48) and Firefox (46) don't work for automated testing. Firefox 41.0 works (https://ftp.mozilla.org/pub/firefox/releases/41.0/win32/en-US/) -- make sure you've disabled automatic updates.
- Launch the server itself with
npm start
(http://localhost:3000) - In parallel, launch the Selenium server with
webdriver-manager start
- Launch the test suite with
npm test