Skip to content

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

Open
@pattrickrice

Description

@pattrickrice

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions