Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-09T22:11:48.000Z (8 months ago)
- Last Synced: 2024-10-13T22:28:43.941Z (2 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.7 MB
- Stars: 19
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Playwright Test Coverage Demo
[![Coverage Status](https://coveralls.io/repos/github/anishkny/playwright-test-coverage-demo/badge.svg?branch=main)](https://coveralls.io/github/anishkny/playwright-test-coverage-demo?branch=main)
[![Depfu](https://badges.depfu.com/badges/aed240fe144783c4d0fabf6a1cc67167/overview.svg)](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
[![Coveralls Report](./coveralls.png)](https://coveralls.io/builds/42662804/source?filename=pages/index.js)
## License
[MIT](https://choosealicense.com/licenses/mit/)