BlanketJS is a very easy to use JavaScript test coverage library.

However, it uses AJAX request to load then instrument a particular source file. That will get Cross Origin Request error when the source is placed across multiple folders

In my own case, I use AMD and RequireJS as the loader so that I could leverage the way RequireJS loading dependencies to inject code coverage tracking.

This project is to prove my solution.

Last edited Mar 31, 2014 at 5:02 AM by kanvuduc, version 4