testcafe-reporter-coverage
March 17, 2024 ยท View on GitHub
A TestCafe custom reporter for monocart coverage reports
Install
npm i testcafe-reporter-coverage
Usage
testcafe chrome:headless:cdpPort=9223 tests/*.test.js -r spec,coverage
Note
cdpPortdefaults 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.