Home

Awesome

code-coverage-vue-example renovate-app badge CircleCI Coverage Status

Code coverage for Vue single file components from Cypress.io end-to-end tests

Uses @cypress/code-coverage plugin for Cypress.io test runner. See https://on.cypress.io/code-coverage documentation.

Total coverage

Individual .vue file coverage

Vue file coverage

Because this application is served using `webpack-dev-server, it instruments the application code following the example in bahmutov/code-coverage-webpack-dev-server via .babelrc and webpack.config.js files.

Coveralls

You can find the code coverage for this project at https://coveralls.io/github/bahmutov/code-coverage-vue-example. To send the coverage information there:

{
  "scripts": {
    "coveralls": "nyc report --reporter=text-lcov | coveralls"
  }
}
- run: npm run coveralls
COVERALLS_REPO_TOKEN=... (token from Coveralls.io)
COVERALLS_SERVICE_NAME=circleci

License

This project is licensed under the terms of the MIT license.