You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have figured out how to use istanbul with coffee-coverage to get coverage reports of the compiled version of my code by doing something like this:
coffeecoverage lib lib-cov --bare (note the bare option was recently added to the master branch of the project, it's not published to npm yet)
change spec files to require lib-cov versions
istanbul cover jasmine-node -- test --coffee
However, it would be much better to get the reports to be based on coffee src files as ibrik seems to be able to do. Also, some of the coffee-coverage instrumentation code is being picked up as uncovered, which messes up the stats.
If I try to use ibrik as a drop-in replacement for istanbul (ibrik cover jasmine-node -- test --coffee with spec files pointing to lib) the tests run, but at the end I get No coverage information was collected, exit without writing coverage information.
Any suggestions?
The text was updated successfully, but these errors were encountered:
I just figured out that I get better reporting/stats by eliminating coffee-coverage from the workflow described above and just using the regular coffee-script compiler before running istanbul.
But it would still be great if there were a way to do the same thing in ibrik. Hope there is a simple solution.
I have figured out how to use istanbul with coffee-coverage to get coverage reports of the compiled version of my code by doing something like this:
coffeecoverage lib lib-cov --bare
(note the bare option was recently added to the master branch of the project, it's not published to npm yet)lib-cov
versionsistanbul cover jasmine-node -- test --coffee
However, it would be much better to get the reports to be based on coffee src files as ibrik seems to be able to do. Also, some of the coffee-coverage instrumentation code is being picked up as uncovered, which messes up the stats.
If I try to use ibrik as a drop-in replacement for istanbul (
ibrik cover jasmine-node -- test --coffee
with spec files pointing tolib
) the tests run, but at the end I getNo coverage information was collected, exit without writing coverage information
.Any suggestions?
The text was updated successfully, but these errors were encountered: