Talk Python To Me cover image

#407: pytest tips and tricks for better testing

Talk Python To Me

00:00

Throwing Hypothesis at a System?

This helps show the status for the different parameters instead of I just loop through all the options and make sure they all pass or there's an error. The other thing that hypothesis is awesome at isn't actually testing the output, it's just making sure your code doesn't blow up. So anything that throws an exception is going to get dealt with as you know, pytas is going to fail because an exception is hit.

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