Skip to content

cenfun/monocart-coverage-vscode

Repository files navigation

Monocart Coverage for VSCode

This extension shows native V8 code coverage in VSCode

Getting Started

Requirements: this extension works with monocart-coverage-reports

Install monocart-coverage-reports and generate coverage-report.json file with v8-json report.

const coverageOptions = {
    // ...
    reports: ['v8-json']
    // ...
}

Performance

Test with TypeScript project, open the file checker.ts (52K+ lines)

Coverage for Test Runner

VSCode officially supports coverage view for the test runner, see test-coverage, I've tried adding V8 coverage data for the test runner, but it didn't luck. Maybe someone can help.

About

Monocart Coverage for VSCode

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published