
Episode 516: Brian Okken on Testing in Python with pytest
Software Engineering Radio - the podcast for professional software developers
00:00
Is There a Way to Refactor a Test Suite?
Tests should focus on behavior, testing behavior instead of implementation. Mocks a lot in your system might cement you into one way of doing something. Don't mock all over the place just so that i can isolate a function from its dependencies. Testing around u components is a designed thing, and that's difficult. I generally don't write very tests around a user in her face.
Play episode from 36:02
Transcript


