A TestCafe custom reporter for monocart coverage reports
npm i testcafe-reporter-coverage
testcafe chrome:headless:cdpPort=9223 tests/*.test.js -r spec,coverage
cdpPort
defaults to9223
, see also coverage config mcr.config.js- The coverage data uses the native v8 coverage data, so it requires chromium-based browser like chrome, edge or chromium.
- Check monocart coverage reports for more coverage options.