Add support for javascript unittests.

Integrated test-runner for Mocha which covers
test-execution and code-coverage measurement.

refs #4099, refs #4087
This commit is contained in:
Johannes Meyer 2013-05-31 13:51:07 +02:00
parent 7ac78fe29d
commit 3544af245f

6
test/js/runtests.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
mocha --reporter "xunit" --recursive "$@" . > ../../build/log/mocha_results.xml
mocha --reporter "cobertura" --recursive "$@" . > ../../build/log/mocha_coverage.xml
exit 0