A super simple dockerisation of a super simple service
- install docker
git clone <this repo>sh docker-test.sh
This runs the bash script which uses Docker magic to install all the dependencies and run the tests. Simple!
npm t- Runs the tests
npm run jshint- Tests the code quality
npm run code-style- Checks the code style is in keeping with AirBnB's standards
npm run check-coverage- Checks that the tests cover all of the code
npm run open-coverage- Opens a browser with a well highlighted view of the code coverage
This was created with the help of the official NodeJS docker tutorial.
© Joe Schofield 2017
