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!
Please confirm you want to block this member.
You will no longer be able to:
See blocked member's posts
Mention this member in posts
Please allow a few minutes for this process to complete.