205: pytest autouse fixtures
On a recent episode of PythonBytes, I suggested it's hard to come up with good examples for pytest autouse fixtures, as there aren't very many good reasons to use them. James Falcon was kind enough to reach out and correct me.
In this episode, we describe:
In this episode, we describe:
- what fixtures are
- what autouse fixtures are
- great reasons to use them
Sponsored by:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.
Creators and Guests

Guest
James Falcon
James Falcon is a software engineer at Canonical, primarily maintaining the cloud-init project. He has spent his career in a variety of Python development and testing roles.
