-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
topic: fixturesanything involving fixtures directly or indirectlyanything involving fixtures directly or indirectlytype: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch
Description
Currently if I need to create a fixture which has scope other than function, I have to re-implement every built-in fixture locally. If pytest does not support calling fixtures with multiple scopes, it should at least provide built-in fixtures with multiple scope. For example:
- monkeypatch
- monkeypatch_session
- monkeypatch_module
Same goes for tmpdir, tmp_path, etc.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
topic: fixturesanything involving fixtures directly or indirectlyanything involving fixtures directly or indirectlytype: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch