node-cover icon indicating copy to clipboard operation
node-cover copied to clipboard

Declare sections to be excepted from code coverage

Open madhadron opened this issue 13 years ago • 1 comments

It would be useful to be able to put a declaration in the source code to say "this is intentionally without unit test coverage; stop warning me about it."

madhadron avatar Apr 23 '12 22:04 madhadron

One possible path: http://nedbatchelder.com/code/coverage/excluding.html#excluding

"pragma: no cover" (inside / near / before ) the block or statement?

gregglind avatar Sep 14 '12 16:09 gregglind