Test & Code cover image

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

Test & Code

00:00

X Pail and X Pass Just Get Translated Into Somethinga?

We use runnexs fail, and we just turn all those x fails off. A lot of c i tools have no idea what these mean. X pail and x pass just get translated into somethinga. They either get translated into a failure or a pass or a skip. So for me, if it's like a failure, then it's like, oh, something failed,. And e'l just look and see what it was, and it's because this thing expassed. Am, but i do think the downside to that is, a, is that you actually have to muck around with the test itself rather than moving just the decorators.

Play episode from 07:34
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app