You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
-
# pytest-fixture-autouse-example
2
-
This repo contains the sample code for the article - pytest fixture autouse
1
+
# Pytest Fixture Autouse Example
2
+
This repo contains the sample code for the article - [How to Auto-Request Pytest Fixtures Using "Autouse"](https://pytest-with-eric.com/pytest-advanced/pytest-fixture-autouse/).
3
+
4
+
The article explains how to use the `autouse` parameter of the `@pytest.fixture` decorator to automatically request a fixture for all tests in a module.
3
5
4
6
# Requirements
5
-
* Python (3.10.6)
7
+
* Python (3.11+)
6
8
7
9
Please install the dependencies via the `requirements.txt` file using
0 commit comments