Configure cache system and register related plugins. Creates the Cache instance and registers the last-failed (LFPlugin) and new-first (NFPlugin) plugins with the plugin manager. :param config: pytest configuration object.
(config: Config)
| 544 | |
| 545 | @hookimpl(tryfirst=True) |
| 546 | def pytest_configure(config: Config) -> None: |
| 547 | """Configure cache system and register related plugins. |
| 548 | |
| 549 | Creates the Cache instance and registers the last-failed (LFPlugin) |
| 550 | and new-first (NFPlugin) plugins with the plugin manager. |
| 551 | |
| 552 | :param config: pytest configuration object. |
| 553 | """ |
| 554 | config.cache = Cache.for_config(config, _ispytest=True) |
| 555 | config.pluginmanager.register(LFPlugin(config), "lfplugin") |
| 556 | config.pluginmanager.register(NFPlugin(config), "nfplugin") |
| 557 | |
| 558 | |
| 559 | @fixture |
nothing calls this directly
no test coverage detected