News for hackers. Stuff that matters.
Re:Your test suite is trying to tell you something by twistedpair on Wednesday July 03, 2013 @12:51PM (#5985813)
Or an indicator of a non-deterministic test. Testing date manipulations with any "now" values can lead to fun like this. Add in timezones and the tests will pass in the US and fail in Japan.
Re:Your test suite is trying to tell you something by bitsai on Wednesday July 03, 2013 @04:07PM (#5987192)
After using jaycfields' "expectations" Clojure testing library, I've become very very appreciative of libraries that expose an easy way to freeze time, for exactly the issues you described.