pytest xfail policy and workflow

Episode 165 · October 7th, 2021 · 9 mins 44 secs

About this Episode

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

Full Transcript