casperjs-istanbul
Simple example of a coverage report using casperjs and istanbul
Prerequisites
- install nodejs
- run
npm install
Launch the application
- run
node server.js
- browse
http://localhost:8000/pages/index
Run tests
- run
grunt test
- open
coverage/report/lcov-report/index.html
, or - use
coverage/report/lcov.info