Runs the tests once and exits.
Possible browsers are Chrome, Firefox and IE and are specified via the karma configuration file.
Members
(private, static) test:build
Runs the tests once with additional reporting.
Skippable with the -st
switch.
JUnit and coverage reporters are used to allow postprocessing by Jenkins and Sonar. The default format of the coverage report is LCOV.
HTML files are preprocessed to JavaScript in order to load them once and for all with beforeEach(module(moduleName.templates));
.
Used internally by build.
(private, static) test:run
Runs the tests on an existing server.
Used internally by watch.
(private, static) test:watch
Starts the test server without exiting for continuous development.
Used internally by watch.