News for hackers. Stuff that matters.
Re:Extreme Programming, a Reflection by henrik_w on Wednesday December 18, 2013 @04:45AM (#6926693)
The question of time in relation to tests is interesting. If you write the code with the mindset that you should be able to test it (including time dependent behavior), you can end up with testable code without too much trouble. The key is to make time external to the code. I just blogged about this in "TDD, Unit Tests and the Passage of Time" http://henrikwarne.com/2013/12/08/tdd-unit-tests-and-the-pas...

There are no comments on this comment yet.