3 ms·
Almost every class I develop needs some thing to run it while I build it. I just make that thing Test::Unit in ruby. I started off with simple scripts for test
by ericb 18y ago
Almost every class I develop needs some thing to run it while I build it. I just make that thing Test::Unit in ruby.
I started off with simple scripts for test harnesses long ago, and realized there was no reason not to use a test as my harness. The tests, for me, catch the most stuff initially. The value later on of some basic test cases is less, but that is all bonus as they're already written.