/pytest-click

Pytest plugin for Click

Primary LanguagePythonMIT LicenseMIT

pytest-click

Build Coverage Version Python versions License

pytest plugin for Click.

Installation

The current stable release:

pip install pytest_click

Usage

pytest-click comes with some configurable fixtures - cli_runner and isolated_cli_runner.

Both runners can be configured via runner_setup mark:

All kwargs will be passed to click.testing.CliRunner initialization.