Next | Pigs in Space | 14 |
Suppose someone pays us for a year of service
They should get the next bill after 335 days
How are you going to unit test that?
Put like that, the answer is obvious
But I've seen plenty of tests that did sleep 60 to wait for something to happen
continued...
Next | Copyright © 2013 M. J. Dominus |