Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/)