
#407: pytest tips and tricks for better testing
Talk Python To Me
00:00
Test Writing Tips - How Much of This Setup Is Shared?
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.
Transcript
Play full episode