Native code coverage in Chrome browser via Debugger protocol during Cypress end-to-end tests
- Connecting to Chrome via chrome-remote-interface copied from flotwig/cypress-log-to-output.
- Code coverage via Debugger Protocol copied from https://github.com/cyrus-and/chrome-remote-interface/issues/170. See cypress/plugins/index.js
- Conversion of v8 coverage to Istanbul-compatible coverage using v8-to-istanbul
npm run cy:open npm run convert npm run report
The output is saved to