Skip to content

Coverage tool integration #596

@MatthewMckee4

Description

@MatthewMckee4

Add first-class support for running tests under coverage tools like coverage.py:

karva test --coverage

This would handle the complexity of collecting coverage across multiple parallel workers, merging .coverage files, and producing a unified report. Currently users would need to manually configure coverage run as a wrapper, which is tricky with karva's worker architecture.

Nextest integrates with cargo-llvm-cov for similar purposes:
https://nexte.st/docs/integrations/test-coverage/

Metadata

Metadata

Assignees

No one assigned

    Labels

    integrationsIntegration with external tools and systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions