4min chapter

Test & Code cover image

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

Test & Code

CHAPTER

XFaild

i like to use x faild for my own personal stuff, but for group projects, it was just more work than it was worth to explain it to everybody. I try not to put it on things that are intended to be fixed soon, because it's o kay, just to see those failures until we fix the book. From my point of view, you've ll made a valuable contribution to this library or this programme by just giving me a good bug report. But if you want to see your name on a commit m or you just don't mind, like to be a, you know, helpful, why don't you take your minimal reproducer, throw it in the 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