4min chapter

Test & Code cover image

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

Test & Code

CHAPTER

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.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode