There was an error while loading. Please reload this page.
For testing we use the following nodejs modules: chai, karma, mocha and sinon. The test are run via grunt.
The unit test are located in src/test/webapp/mocha. See existing tests as example.
in a console execute one of the grunt jops with
grunt [jop name]
If no jop name is provided, the default jop is executed.
unitTest
test source files with jshint
+ execute unit test in firefox and chrome
+ build test & coverage report
Please Note: if a jshint is found the unit test are not executed
unitTestChrome
+ execute unit test in chrome
unitTestFirefox
+ execute unit test in firefox
default
like unitTest, but the unit test are executed even if a jshint is detected
+