DEV Community

Jon Thor Austen
Jon Thor Austen

Posted on • Edited on

Code Coverage with Cypress & Angular

Forking a new HOWTO from https://dev.to/muratkeremozcan/combined-unit-e2e-code-coverage-case-study-on-a-real-life-system-using-angular-jest-cypress-gitlab-35nk

IN PROGRESS... COMING SOON... FIRST POST...

Istanbul w/Unit Tests

As you know, you might configure unit test code coverage and then run your code coverage report like so:

ng test --browsers=ChromeHeadless --codeCoverage=true --watch=false --sourceMap=false

From that you will generally get a coverage folder in the root of your project that contains a src instrumented code folder. Next to that will be your report results files.

Instanbul w/Cypress

TODO

Top comments (0)