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.
Other
8.7k
stars
787
forks
source link
ignore lines of code by specifying the line numbers #934
Hi all,
I am new here and trying to use nyc against a big javascript file, generated by a tool. Here I want to run the code coverage by specifying area in javascript file mentioning the number of lines like below,
{
"start_line":100,
"end_line":500
}
Because, the specific tool adds lots of framework code to this javascript, where my code also present. Is there anyway to do this in nyc?
Hi all, I am new here and trying to use nyc against a big javascript file, generated by a tool. Here I want to run the code coverage by specifying area in javascript file mentioning the number of lines like below, { "start_line":100, "end_line":500 } Because, the specific tool adds lots of framework code to this javascript, where my code also present. Is there anyway to do this in nyc?
Thanks Jihad