We try to avoid writing slow unit tests, but what if we are testing a method whose responsibilities include waiting for a period of time? In this episode we look at a few approaches, talk about the difference between testing logic and testing system interactions, and finally settle on a strategy that leads us to a more flexible design.
Oop, this content isn't available to visitors. Please register or
log in to continue!
Or you could purchase this course.
Responses