2min chapter

Test & Code cover image

What would you change about pytest?

Test & Code

CHAPTER

The Importance of Parallel Testing

I can even see like there's been some plugins that kind of have to jump through. Like one of the things that I put in place recently, which is hard to get right was I've got a system level fixture or a scoped fixture that connects to the thing I'm testing. At any time where there's, there's certain state that the connection can get in that's not recoverable. So I do that like once per module to check to see if the connection's still alive. And if it's not, then I'm airing the tests so they don't try to run because the connection's not going to work. But I wanted to do that around each test, but

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