The fixture scopes in Pytest describe how often a fixture will be called. The fixtures have a lot of different scopes that can be applied to them, as shown in the following:
- Function scope: Fixture is run once per test
- Class scope: Fixture is run once per class
- Module scope: Fixture is run once per module
- Session scope: Fixture is run once per test session