Thursday, March 13, 2008

testing




PragDave show us an interesting new library for doing testing. I've been doing tons of TDD (Test Driven Development) lately, either that or writing the tests right after I write the code, and I've found that it makes my life much better. What I find lacking though is that the reports of what fails in the tests is a bit lacking, the way that Ruby on Rails gives the whole call stack is sometimes hard to parse.

Integration tests though are much harder, and I find myself having to frequently consult the test.log file to figure out what went wrong. There must be a better way to do integration testing.

In my next big project, the Orchive, I plan to do things right, I think it's going to be RESTful, and I'm going to think hard to make a beautiful API.