https://github.com/anishkny/playwright-test-coverage-demo
Demonstrates usage of playwright-test-coverage - a Playwright extension that collects code coverage from running end-to-end tests
https://github.com/anishkny/playwright-test-coverage-demo
automation coverage playwright qa
Last synced: 9 months ago
JSON representation
Demonstrates usage of playwright-test-coverage - a Playwright extension that collects code coverage from running end-to-end tests
- Host: GitHub
- URL: https://github.com/anishkny/playwright-test-coverage-demo
- Owner: anishkny
- Created: 2021-09-05T17:51:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-04T03:36:23.000Z (12 months ago)
- Last Synced: 2025-03-18T05:11:59.648Z (9 months ago)
- Topics: automation, coverage, playwright, qa
- Language: JavaScript
- Homepage: https://dev.to/anishkny/code-coverage-for-a-nextjs-app-using-playwright-tests-18n7
- Size: 1.86 MB
- Stars: 24
- Watchers: 3
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Playwright Test Coverage Demo
[](https://coveralls.io/github/anishkny/playwright-test-coverage-demo?branch=main)
[](https://depfu.com/github/anishkny/playwright-test-coverage-demo?project_id=37920)
Demonstrates usage of [playwright-test-coverage](https://github.com/anishkny/playwright-test-coverage) - a [Playwright](https://playwright.dev) extension that collects code coverage from running end-to-end tests.
Read more in this [blog post](https://dev.to/anishkny/code-coverage-for-a-nextjs-app-using-playwright-tests-18n7).
## Usage
```bash
npm install
npm test
```
Code coverage should be generated in `coverage/` folder.
## Sample
[](https://coveralls.io/builds/42662804/source?filename=pages/index.js)
## License
[MIT](https://choosealicense.com/licenses/mit/)