Jasmine code coverage example via Istanbul and Karma
JavaScript CSS HTML
Switch branches/tags
Nothing to show
Latest commit 44cf027 Sep 24, 2016 @mortonfox mortonfox committed with Update link to Jasmine
Permalink
Failed to load latest commit information.
test Add a test to check for thrown exception. Oct 3, 2013
README.md Update link to Jasmine Mar 5, 2017
my.conf.js Only test sqrt.js. Dec 15, 2013
package.json package.json Oct 3, 2013
sqrt.js Implement square root. Oct 3, 2013

README.md

This repo contains an example setup for tracking code coverage of Jasmine tests via Istanbul and Karma.

Run the following:

npm install
npm test

and then open the code coverage report under the subdirectory coverage.

The tests are executed using PhantomJS. It is easy to add other browsers as well

Using Grunt? Apply the tweak and now the test becomes a task.