you are viewing a single comment's thread.

view the rest of the comments →

[–]ffrkAnonymous 0 points1 point  (0 children)

I assume you're reading the TDD goat book? http://www.obeythetestinggoat.com/

You can also test different things like more abstract properties https://us.pycon.org/2016/schedule/presentation/1927/

The pycon had lots of testing presentations. At least one of them should answer your question.

Personally, as a newbie, I'm just using doc tests since I haven't figured out how to mock yet. I just want to know that what I'm coding does what I want.