Home

Awesome

code-coverage-subfolder-example renovate-app badge CircleCI

The web "app" is located in app folder. First, you need to instrument it using

$ npm run cc:instrument

The instrumented code is placed into instrumented folder, including index.html and main.js.

Start Cypress with

$ npm run cypress:open

After running the spec file cypress/integration/spec.js the coverage information will be saved in coverage folder, include HTML report

$ open coverage/lcov-report/index.html

Coverage information

See Cypress Code Coverage Guide and cypress-io/code-coverage for more information.