Talk Python To Me cover image

#407: pytest tips and tricks for better testing

Talk Python To Me

Test Writing Tips - How Much of This Setup Is Shared?

3min Snip

00:00
Play full episode
You could have more than one fixture in a test, right? You can say this part arranges the database. Or connections to resources and all sorts of stuff. And there's many that do that. But I recommend putting, like, especially the first test for something you write down, just write it in the test.

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