Skip to content
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

How to enable code coverage for @vue/cli-plugin-e2e-cypress? #5608

Open
pattrickrice opened this issue Jun 23, 2020 · 1 comment
Open

How to enable code coverage for @vue/cli-plugin-e2e-cypress? #5608

pattrickrice opened this issue Jun 23, 2020 · 1 comment

Comments

@pattrickrice
Copy link

What problem does this feature solve?

Coverage reporting for e2e tests

What does the proposed API look like?

It is not currently clear how to enable coverage for e2e tests using the cypress plugin. Setup requires instrumenting the server with nyc/Istanbul and when running with a command like yarn nyc --reporter=lcov --reporter=text vue-cli-service test:e2e only vue.config.js and postcss.config.js get coverage reports (I wouldn't call this a bug).

It would seem like this plugin should enable an easy configuration like yarn test:e2e --coverage.

@pattrickrice pattrickrice changed the title How to enable Istanbul code coverage for the cypress plugin? How to enable code coverage for the cypress plugin? Jun 23, 2020
@pattrickrice pattrickrice changed the title How to enable code coverage for the cypress plugin? How to enable code coverage for @vue/cli-plugin-e2e-cypress? Jun 23, 2020
@lucianokrebs
Copy link

@pattrickrice do you have any news on that? I'm facing the same issue

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

No branches or pull requests

2 participants