Skip to content

Measure cy code coverage #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

bahmutov
Copy link

@bahmutov bahmutov commented Aug 8, 2019

I have added a single end-to-end test and a few unit tests, all using Cypress test runner. The code is instrumented during npm start on the fly using babel-plugin-istanbul via @cypress/instrument-cra, the code coverage from E2E and unit tests is combined using @cypress/code-coverage plugin.

Currently standing at 90% code coverage

Screen Shot 2019-08-08 at 1 14 44 PM

I plan to add more comments to the spec and README file, and possible hit the edge case statements missing from the code coverage report

@bahmutov
Copy link
Author

Final coverage number 96%
96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant