Provide for an easier way to re-use fixtures or plugins from other conftests #2062
Labels
type: feature-branch
new feature or API change, should be merged into features branch
type: refactoring
internal improvements to the code
It'd be very helpful to have one canonical way to re-use fixture code between test modules. Right now, I know of 3 ways to do this, each with their own downsides:
pytest_plugins = 'path.to.conftest'
-- Will result in pytest errors if you run the current module and the module the conftest came from at the same time. Also makes the plugin globally active, which isn't always desired.The text was updated successfully, but these errors were encountered: