Test & Code in Python

Topics include automated testing, testing strategy, software engineering practices, packaging, Python, pytest, data science, TDD, continuous integration, and software methodologies. Also anything I think helps make the daily life of a software developer more fun and rewarding. Hosted by Brian Okken.



episode 171: How and why I use pytest's xfail - Paul Ganssle

Paul Ganssle, is a software developer at Google, core Python dev, and open source maintainer for many projects, has some thoughts about pytest's xfail.
He was an early skeptic of using xfail, and is now an proponent of the feature.
In this episode, we talk about some open source workflows that are possible because of xfail.

Special Guest: Paul Ganssle.

Sponsored By:

  • PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE22

Support Test & Code in Python


  • How and why I use pytest's xfail — Paul's blog post mentioned in the episode
  • Craft Minimal Bug Reports — Matthew Rocklin's article
  • episode 111: Subtests in Python with unittest and pytest - Paul Ganssle
  • episode 165: pytest xfail policy and workflow
  • episode 166: unittest expectedFailure and xfail


 2021-11-22  38m