Tests requires http-server
(npm install http-server -g
) and jscoverage
http://siliconforks.com/jscoverage/
- Build test via
make qunit
- Start via
make run_qunit
and browse http://localhost:8080
Note run qunit test on http server or "LMD loader" test will fail
- Download and build/install jscoverage and
http-server
- Create tests via
make coverage
- Run coverage tests via
make run_coverage
and browse http://localhost:8080/jscoverage.html?u=index.html - Switch to "Summary" tab for results
- Download and build/install phantomjs
- Start http-server
http-server test/qunit -a 127.0.0.1 -p 8080
- Execute test using phantomjs:
phantomjs test/qunit/phantomjs-index.js "http://localhost:8080/index.html"