Test & Code cover image

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

Test & Code

00:00

PyTest's Deprecation Warning Period

PyTest fixtures are way easier to use right now than they used to be when I first started using PyTest. The, the one thing around it though, that it's, I don't even know if this is fixable or changeable is like if I have a test with no arguments, I can just write If done name equals done domain and just call my tests in the file and run Python on it. I can't do that if there's fixtures because the parameters aren't filled in. Well, actually I think we deprecated return values from fixtures. So they always return done now.

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