Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
I want to provide source root path to istanbul for which I need coverage report. I am using istanbul with floss. Here given below is command that I am using but when I run its says No coverage information was collected, exit without writing coverage information
Command
istanbul cover --include-all-sources --root ../core/frontend/lib bin/testbed.js
In testbed.js I have code that runs the tests using floss. Suggest me a solution please
I want to provide source root path to istanbul for which I need coverage report. I am using istanbul with floss. Here given below is command that I am using but when I run its says No coverage information was collected, exit without writing coverage information
Command istanbul cover --include-all-sources --root ../core/frontend/lib bin/testbed.js
In testbed.js I have code that runs the tests using floss. Suggest me a solution please