Live: lcov-viewer.netlify.app
LCOV code coverage report viewer. Parses lcov report files and generates HTML report grouped by directory.
This repository provides two packages:
Package | Description |
---|---|
Istanbul grouped HTML report. Generates code coverage report grouped by directory. | |
CLI to convert coverage in LCOV format to a grouped HTML report. |
Istanbul reporter for Jest and nyc. Generates code coverage report grouped by directory.
Documentation: /packages/istanbul-report
yarn add -D @lcov-viewer/istanbul-report
npm install -D @lcov-viewer/istanbul-report
CLI to convert coverage in LCOV format to a grouped HTML report.
Documentation: /packages/cli
yarn global add @lcov-viewer/cli
npm install -g @lcov-viewer/cli
-- OR locally in your project --
yarn add -D @lcov-viewer/cli
npm install -D @lcov-viewer/cli
This repository uses Yarn workspaces. Please use Yarn as a package manager.
git clone https://github.com/eugenezinovyev/lcov-viewer.git
cd lcov-viewer
yarn
yarn start
The open http://localhost:8080/ in your browser and drop lcov.info
file into the dropzone.