pytest
Run tests in the selected directory and generate a test badge and RST test
report. When a coverage directory is supplied, collect coverage data that can
later be combined by pycoverage.
For programmatic usage, see pytest, reports.
Default run name: pytest
cikit --name unittests pytest tests/unittests --coverage-dir .coverage-data
Arguments and options
test_path: Directory to test (required).--coverage-dir PATH: Directory for parallel coverage data (default: no coverage).--timeline-limit N: Maximum history entries;0disables the timeline.
Requires: pytest, and Python coverage when coverage collection is enabled.
Results: Test metrics, test badge, optional timeline, and RST report. Test failures retain a failing CI status while normal report generation can continue.
For a complete multi-suite coverage workflow, see pycoverage.