2min chapter

Test & Code cover image

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

Test & Code

CHAPTER

Why You Shouldn't Want X Failing Tests in Your Code Base?

If it's stopping your progress on something, and it's a problem, you kind of want to get it fixed. You'll probably get a fixd really quick. And if you are the kind of person who's writing these tests, you knowi i suspect that on average, if you start with a p r instead of a bug report or something, if you, if you make a p r that has an x failing test in it, most people will ask what is this? Why you adding broken tests?

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