4min chapter

Test & Code cover image

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

Test & Code

CHAPTER

X Phail Isn't Consistently Used Within a Test Suite.

The decorator runs everything m but if you call, like pitest, x fail from a test, it stops there. The one place where i've had trouble introducing x phail is in the set up tools am test suit. I think they've marked a bunch of stuff as xpail or skip its. It's not consistently used. And hopefully this podcast and block posts will convince people to usexpail enough thatthat it will be a higher profile test.

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