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

fix: improve code coverage plugin #4252

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

kobenguyent
Copy link
Collaborator

@kobenguyent kobenguyent commented Mar 15, 2024

Motivation/Description of the PR

We revamp the coverage plugin to make it easer to use

Once all the tests are completed, codecept will create and store coverage in output/coverage folder, as shown below.

Screenshot 2024-03-15 at 09 13 02

Open index.html in your browser to view the full interactive coverage report.

Screenshot 2024-03-15 at 09 24 15
Screenshot 2024-03-15 at 09 24 35

Applicable helpers:

  • Playwright
  • Puppeteer

Applicable plugins:

  • coverage

Type of change

  • 🚀 New functionality
  • 🐛 Bug fix

Checklist:

  • Tests have been added
  • Documentation has been added (Run npm run docs)
  • Lint checking (Run npm run lint)
  • Local tests are passed (Run npm test)

@kobenguyent kobenguyent merged commit 6e552c1 into 3.x Mar 15, 2024
11 of 12 checks passed
@kobenguyent kobenguyent deleted the improve-code-coverage-plugin branch March 15, 2024 08:57
@kobenguyent kobenguyent mentioned this pull request Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing to convert test coverage jsons to istanbul format
1 participant