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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b274f24 · Oct 24, 2018

History

3 Commits
Oct 24, 2018
Oct 24, 2018
Oct 24, 2018
Oct 24, 2018
Oct 24, 2018
Oct 24, 2018
Oct 24, 2018

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