Skip to content

CLI Reference

karva

A Python test runner.

Usage

karva <COMMAND>

Commands

karva test

Run tests

karva version

Display Karva's version

karva help

Print this message or the help of the given subcommand(s)

karva test

Run tests

Usage

karva test [OPTIONS] [PATH]...

Arguments

PATHS

List of files, directories, or test functions to test [default: the project root]

Options

--help, -h

Print help

--show-output, -s

Show Python stdout during test execution

--test-prefix test-prefix

The prefix of the test functions

[default: test]

--verbose, -v

Use verbose output (or -vv and -vvv for more verbose output)

karva version

Display Karva's version

Usage

karva version

Options

--help, -h

Print help

karva help

Print this message or the help of the given subcommand(s)

Usage

karva help [COMMAND]