API Reference¶
Directive reference¶
Generated from add_directive()
registrations in
sphinx_autodoc_pytest_fixtures/__init__.py
via sphinx-autodoc-docutils.
Config reference¶
Generated from add_config_value()
registrations in
sphinx_autodoc_pytest_fixtures/__init__.py.
Fixture names to hide from dependency tracking
- Type:
- Default:
frozenset({'cache', 'capfd', 'capfdbinary', 'capsysbinary', 'pytestconfig', 'pytester', 'record_property', 'record_testsuite_property', 'record_xml_attribute', 'recwarn', 'testdir', 'tmpdir'})
- Registered by:
-
pytest_fixture_builtin_links¶pytest_fixture_builtin_links¶
Fallback URLs for pytest built-in fixtures
- Type:
- Default:
{'caplog': 'https://docs.pytest.org/en/stable/reference/fixtures.html#caplog', 'capsys': 'https://docs.pytest.org/en/stable/reference/fixtures.html#capsys', 'monkeypatch': 'https://docs.pytest.org/en/stable/reference/fixtures.html#monkeypatch', 'request': 'https://docs.pytest.org/en/stable/reference/fixtures.html#request', 'tmp_path': 'https://docs.pytest.org/en/stable/reference/fixtures.html#tmp_path', 'tmp_path_factory': 'https://docs.pytest.org/en/stable/reference/fixtures.html#tmp_path_factory'}
- Registered by:
-
pytest_fixture_external_links¶pytest_fixture_external_links¶
Custom external fixture link URLs
- Type:
- Default:
{}- Registered by:
-
pytest_fixture_lint_level¶pytest_fixture_lint_level¶
Validation severity: ‘none’, ‘warning’, or ‘error’
- Type:
- Default:
'warning'- Registered by:
-
.. fixture::¶.. fixture::¶
Sphinx directive for documenting pytest fixtures:
.. py:fixture::.Options:
- Python path:
sphinx_autodoc_pytest_fixtures._directives.PyFixtureDirective- Required arguments:
1- Optional arguments:
0- Final argument whitespace:
True- Has content:
True
-
.. autofixtures::¶.. autofixtures::¶
Bulk fixture autodoc directive:
.. autofixtures:: module.name.Options:
- Python path:
sphinx_autodoc_pytest_fixtures._directives.AutofixturesDirective- Required arguments:
1- Optional arguments:
0- Final argument whitespace:
False- Has content:
False
-
.. auto-pytest-plugin::¶.. auto-pytest-plugin::¶
Render a reusable pytest-plugin documentation page block.
Options:
- Python path:
sphinx_autodoc_pytest_fixtures._directives.AutoPytestPluginDirective- Required arguments:
1- Optional arguments:
0- Final argument whitespace:
False- Has content:
True