Repository navigation
CRAP score for node native coverage #2900
|
Probably a silly question to ask because it is experimental, but does fallow support coverage from |
Replies: 1 comment 1 reply
|
Not directly at the moment. Both use the same V8 coverage underneath. Set NODE_V8_COVERAGE=./v8-coverage node --test
npx c8 report --reporter=json --temp-directory ./v8-coverage
fallow health --coverage coverage/coverage-final.jsonYou do not need #2906 tracks support for the V8 folder as direct input, without |
Not directly at the moment.
--experimental-test-coveragegives a terminal table or LCOV, andfallow health --coveragereads Istanbul JSON (coverage-final.json).Both use the same V8 coverage underneath. Set
NODE_V8_COVERAGEso Node keeps that data in a folder, then convert it withc8:You do not need
--experimental-test-coveragefor this. Keep it if you also want Node's own coverage table in the terminal.#2906 tracks support for the V8 folder as direct input, without
c8. That gives more precise per-function numbers than the line-bas…