khacquyetdang / testkarmajs

This project is to show how to test javascript code without es6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

This project is to show how to test javascript code without es6


Languages

Language:JavaScript 100.0%