Software Testing

Articles on Software Testing

Testing Rails with Rack::Test

The biggest news in Rails 2.3 is its support for Rack, the WSGI inspired Ruby web server interface. Of all the Rack goodness that has come along lately, the one that has me the most excited is Bryan Helmkamp’s Rack::Test library, of which Bryan said “Basically, I extracted Merb’s request helper code into a small, reusable, framework agnostic library.”

Read more: Using Rack::Test with Rails

Integration Testing for Multiple Web Applications

I’ve recently been developing a Rails app that relies on a database that is maintained by another team as part of a different application. As you can imagine, unexpected changes to the database schema can bring our Rails app to it’s knees if they’re deployed to the live server before our application is updated.

Testing multiple applications with Integral

Testing Merb controllers with RSpec

I’ve been trying out Merb recently, and I’m liking it. However, I’ve spent a lot of time stumbling around the interweb looking for examples of what I’ve been trying to achieve. So far I’ve been coming up short. The Merb API docs are good, but you can’t beat a good example.

Find out how to test a Merb controller