Closed alexjsmac closed 8 years ago
Oh and this is what I'm trying to do: http://ariya.ofilabs.com/2013/10/code-coverage-of-qunit-tests-using-istanbul-and-karma.html
I'm not sure how Istanbul works, but test/runtime.js
is the testfile (so far) that we want to check to see how well it covers js/runtime.js
. And for coverage we want to include all of js/*, but for now we know that the other files are at 0% coverage.
Okay all good to go! The files commented out in karma.conf.js are still causing some problems, but the reports shows up now for everything else!
Awesome! Thanks for doing this. :shipit:
Nice final commit message.
Aha it was quite a surprise
Not ready to merge, just have a few questions/issues.
Since run_tests.sh is giving test/runtime.html as a parameter, is that what I should include as the test script in my.conf.js? Or should it be test/runtime.js?
With this configuration I get the following error when I run
npm test
:Not sure what's triggering the error :confused: .