vue-cli icon indicating copy to clipboard operation
vue-cli copied to clipboard

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

Open pattrickrice opened this issue 6 years ago • 1 comments

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 avatar Jun 23 '20 02:06 pattrickrice

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

lucianokrebs avatar Jan 18 '22 21:01 lucianokrebs