Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cenfun/merge-code-coverage

Example for merging code coverage
https://github.com/cenfun/merge-code-coverage

code coverage e2e jest merge monocart playwright shard unit

Last synced: 5 days ago
JSON representation

Example for merging code coverage

Awesome Lists containing this project

README

        

# merge-code-coverage
Example for merging code coverage
- Unit test with [Jest](https://github.com/jestjs/jest/) + [jest-monocart-coverage](https://github.com/cenfun/jest-monocart-coverage)
- E2E test with [Playwright](https://playwright.dev/) + [Sharding](https://playwright.dev/docs/test-sharding)
- `npx playwright test --shard=1/2`
- `npx playwright test --shard=2/2`
- [merge coverage](merge-coverage.js)

## Github Actions
- [.github/workflows/main.yml](.github/workflows/main.yml)

## Related Examples
- [Vitest + Playwright](https://github.com/cenfun/merge-code-coverage-vitest)

## Preview V8 Coverage Reports
- unit: https://cenfun.github.io/merge-code-coverage/unit/
- e2e (merge-multiple): https://cenfun.github.io/merge-code-coverage/e2e/
- merged: https://cenfun.github.io/merge-code-coverage/merged/