Questions tagged [blanket.js]

Blanket.js is an open source code coverage tool for javascript.

Blanket.js is an easy to install, easy to configure, and easy to use JavaScript code coverage library that works both in-browser and with nodejs.

The project currently supports Qunit, Mocha and Jasmine test runners.

The project website can be found here: http://blanketjs.org/

50 questions
0
votes
1 answer

Blanket.JS doesn't generate a report in Mocha

On the Blanket.JS website it is said that Mocha is supported. I followed the procedure of including blanket.js on my test page and put the data-cover attribute on the appropriate script elements but no report of coverage is being shown on the…
SBel
  • 3,315
  • 6
  • 29
  • 47
0
votes
1 answer

How can I set the test path in the config for blanket.js

I currently have all my tests in the root/test folder. Using blanket.js for code coverage works 100%. I want to move some of my tests into sub folders for example root/test/domainTests. However when doing this blanket.js does not find the test to…
SneakyPeet
  • 607
  • 5
  • 14
0
votes
1 answer

How to use Blanket.js with QUnit tests run with jQuery.noConflict(true)

I am using QUnit to test the jQuery plugin I'm writing and was hoping to use blanket to generate coverage information. My test looks like: My Awesome Test Suite