News for hackers. Stuff that matters.
Re:Unit testing in Coders at Work by maryrosecook on Tuesday October 06, 2009 @11:57AM (#864437)
You're right: I write a little, do a test run of the code to see what comes back, fix it if it doesn't work, write a bit more and so forth. And I see how saving those little tests could be useful.
Re:Unit testing in Coders at Work by silentbicycle on Tuesday October 06, 2009 @01:07PM (#864615)
There are testing packages for a couple languages (Python and Lua, for sure) that let you just copy in the text directly from the interpreter and use them as regression tests.