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
Learn pytest
- pytest is the number one test framework for Python.
- Learn the basics super fast with Hello, pytest!
- Then later you can become a pytest expert with The Complete pytest Course
- Both courses are at courses.pythontest.com
Creators and Guests
