165: pytest xfail policy and workflow
A discussion of how to use the xfail feature of pytest to help with communication on software projects.
The episode covers:
- What is xfail
- Why I use it
- Using reason effectively by including issue tracking numbers
- Using xfail_strict
- Adding --runxfail when transitioning from development to feature freeze
- What to do about test failures
- How all of this might help with team communication
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
