pytest_init

Remove old intermediate Python coverage files before a sequence of test runs. A missing directory is accepted. This command does not itself run any tests or regenerate the removed directory.

For programmatic usage, see coverage.

Default run name: pytest_init

cikit pytest_init --coverage-dir .coverage-data

Arguments and options

  • --coverage-dir PATH: Directory to remove (required).

Results: A clean starting point for collecting Python coverage files.

For a complete test and coverage workflow, see pycoverage.