Skip to content

demonstrate issues we're bumping into instrumenting Node.js' test suite for coverage

Notifications You must be signed in to change notification settings

bcoe/node-coverage-debug

Repository files navigation

Coverage Weirdness in Node.js

Problem I'm Seeing

For some of the internal modules in Node.js, it seems that the coverage reported by the inspector does not include the outer most block:

This should not be possible, given that it does contain coverage for deeper blocks within the AST.

Creating This Output

I created the output shared in this repo by running:

NODE_V8_COVERAGE=./cov ./tools/test.py test/parallel/test-fs-mkdir.js

About

demonstrate issues we're bumping into instrumenting Node.js' test suite for coverage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages