Test & Code cover image

195: What would you change about pytest? - Anthony Sottile

Test & Code

00:00

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

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app