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

Creators and Guests

Brian Okken
Host
Brian Okken
Software Engineer, also on Python Bytes and Python People podcasts
pytest xfail policy and workflow
Broadcast by