0.0.6 • Published 5 months ago
react-rendercov v0.0.6
react-rendercov
react-rendercov
is a powerful utility designed to collect render counts during Playwright tests and output them as structured JSON data. It internally uses the Bippy package.
Features
- Seamless Integration with Playwright: Easily integrates with your existing Playwright test suite to capture render counts.
- JSON Output: Outputs collected render data as structured JSON, which you can use for analysis.
Installation
You can install react-rendercov
via npm:
npm install react-rendercov --save-dev
Usage
Instrumentation
import { initRenderCovPlaywright } from "react-rendercov";
initRenderCovPlaywright();
IMPORTANT - Initialize this before importing react in your codebase root/index file.
Tests
import { renderCovTest as test } from "react-rendercov/playwright";
renderCovTest('test render collection', async ({ page }) => {
...
});
0.0.6
5 months ago
0.0.0-20250210045824
5 months ago
0.0.0-20250210044653
5 months ago
0.0.0-20250210043555
5 months ago
0.0.0-20250209194634
5 months ago
0.0.5
5 months ago
0.0.4
5 months ago
0.0.3
5 months ago
0.0.2
5 months ago