Playwright Test Coverage
JSON →Playwright Test Coverage is an extension for the Playwright test framework designed to facilitate code coverage collection from end-to-end tests. Currently stable at version 1.2.12, this library integrates with `babel-plugin-istanbul` for source code instrumentation and `nyc` for managing the test run and generating comprehensive coverage reports. Unlike some other coverage tools, `playwright-test-coverage` requires developers to explicitly instrument their frontend source code during the build process and run their application server via `nyc`. It provides a wrapper around Playwright's `test` and `expect` functions, ensuring that coverage data from the browser context is properly captured and merged. This setup is particularly useful for projects that already leverage Babel for their build pipeline and require detailed E2E coverage metrics.
Traffic · last 30 days ↑200% vs prev 7d
top countries 🇺🇸 United States · 🇳🇴 Norway · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France