(parser: Parser)
| 13 | |
| 14 | |
| 15 | def pytest_addoption(parser: Parser) -> None: |
| 16 | group = parser.getgroup("debugconfig") |
| 17 | group.addoption( |
| 18 | "--setuponly", |
| 19 | "--setup-only", |
| 20 | action="store_true", |
| 21 | help="only setup fixtures, do not execute tests.", |
| 22 | ) |
| 23 | group.addoption( |
| 24 | "--setupshow", |
| 25 | "--setup-show", |
| 26 | action="store_true", |
| 27 | help="show setup of fixtures while executing tests.", |
| 28 | ) |
| 29 | |
| 30 | |
| 31 | @pytest.hookimpl(hookwrapper=True) |