Internal Tests

cwest on 2003-07-25T21:16:43

I'm really digging this test first mentality. It's very instantly gratifying. Test something, it fails, code it, success! I've found data and logic inconsistencies, as well as interface issues. All this is a result of writing the code to use the application first.

But as you can tell, I really enjoy it. I've been coding for 2.5 days on this project.

All tests successful. Files=8, Tests=2435, 7 wallclock secs ( 4.34 cusr + 0.34 csys = 4.69 CPU)

Another nice thing is that I don't commit till my tests all pass. This forces me to finish what I started in one session. And that forces me to do small bits at a time, and think first.

Posted from caseywest.com, comment here.