Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For more information on running Cypress through the command line, please refer to the documentation.

Running coverage reports

Our Cypress setup has code coverage reporting configured automatically through the cypress/code-coverage plugin. This will generate a code coverage report and save it to the coverage directory. However, if you want to see a summary of the code coverage after the tests have been run, run the following command.

npx nyc report --reporter=text-summary

For a more detailed overview, reference the documentation here.

Examples

Info

Different examples from within the codebase may be useful to illustrate different testing use cases

...