DataMan frontend allin
angular-styleguide - https://github.com/johnpapa/angular-styleguide
The Frontendapp comes preconfigured with unit tests. These are written in [Jasmine][jasmine], which we run with the [Karma Test Runner][karma]. We provide a Karma configuration file to run them.
- the configuration is found at
karma.conf.js
- the unit tests are found next to the code they are testing and are named as
xxx.spec.js
.
The easiest way to run the unit tests is to use the supplied npm script:
npm test
npm install
webdriver-manager update
webdriver-manager start
npm test
npm test-single