Stunning. Simply Stunning.

Posted: Sat, 8 April 2006 | permalink | No comments

Rails is the framework that just keeps on loving. A new feature in the recently-released Rails 1.1 is an integration testing framework. The general idea is that your unit tests make sure that your data model and validation work, functional tests make sure that business logic is specified correctly, and then integration tests tie a whole typical user session together, to ensure that your whole app holds together nicely in real-world usage situations. Basically, think of integration tests as an automated "click around" to make sure everything's working -- and, like everything that's automated, you can do it quite regularly without getting RSI, and it'll never make a mistake.

Now, automated integration testing is pretty cool, there's no doubt. But there's more to this than meets the eye. You can also use the integration testing features in rails to test drive your entire Rails application from the Rails console. Big geek points to Mike Clark for the tip.


Post a comment

All comments are held for moderation; markdown formatting accepted.

This is a honeypot form. Do not use this form unless you want to get your IP address blacklisted. Use the second form below for comments.
Name: (required)
E-mail: (required, not published)
Website: (optional)
Name: (required)
E-mail: (required, not published)
Website: (optional)