pytest plugin module#
Configuration file for pytest.
Added in version 10.3.
- conftest.pause_between_doctests(request)[source]#
Insert a pause after each doctest if enabled.
Added in version 11.0.
- Parameters:
request (_pytest.fixtures.FixtureRequest) – The pytest FixtureRequest object providing test context.
- Return type:
None
- conftest.pytest_addoption(parser)[source]#
Add CLI option –doctest-wait to pause between doctests.
If the option is given without parameter, the default value is 0.5 seconds.
Added in version 11.0.
- Parameters:
parser (_pytest.config.argparsing.Parser) – The pytest parser object used to add CLI options.
- Return type:
None