
#407: pytest tips and tricks for better testing
Talk Python To Me
00:00
Object Oriented Programming - Unit Tests
There's a lot of sort of implicit magic behind the scenes as part of that, right? There is. And I like, for instance, just using normal asserts because with like unit tests, you have to do a whole bunch of extra assert methods and helper methods and stuff. It's often people coming from unit tests or some other x unit style that are confused at the simplicity,. People are used to deriving from a test class or something. They just wanted to write some test code.
Transcript
Play full episode