News for hackers. Stuff that matters.
Re:When TDD Fails by alexatkeplar on Saturday October 01, 2011 @09:09PM (#3061700)
It sounds like you might be better with something like QuickCheck for your testing: http://en.wikipedia.org/wiki/QuickCheck

This was featured recently in Bryan O'Sullivan's "Running a startup on Haskell" presentation: "[QuickCheck] generates random data, then tells me if all properties that I expect to be true of my functions and data hold. QuickCheck is shockingly more effective at finding bugs than unit tests."

There are ports of QuickCheck to tons of other languages...

Re:When TDD Fails by blackhole on Saturday October 01, 2011 @09:20PM (#3061719)
This gets complicated in a graphics engine where the only place you can tell something has gone wrong is after the image shows up in the wrong place. It would help a lot for the majority of cases, though.