Skip to content

Usage

New to Karva? Start with the tutorial.

Task Guide
Select tests Filtering
Run across workers or CI jobs Parallel execution
Rerun on save Watch mode
Rerun failures Cache
Stop after failures Failing fast
Retry flaky tests Retries
Find slow tests Slow tests
Write tests Basics
Save expected output Snapshots
Measure coverage Coverage
Share setup and teardown Fixtures
Test multiple inputs Parametrize

Karva runs many pytest tests, but full compatibility is not a goal. Check the non-goals for unsupported features, or open an issue.