Programming without tests?

jk2addict on 2006-12-14T14:38:20

Honest to $deity, how did we ever write code without tests to verify functionality?

Last night I finally started copying cart*.t tests from Handel into Handel-Storage-RDBO. After changing them to use a different class to test against, they just work: which proves that the new storage layer works as intended; or at least as well as the DBIC layer does.

That in and of itself is always a cool feeling.

Every time I go through that type refactor or development I always wonder the same thing: How in the hell could I have ever done this without tests and shipped something that 'probably works'.

Seems like the dark ages. :-)