Testing
Rails application testing, top to bottom
Intro to a mini-series of articles with advice and pointers on practical, pragmatic testing for Ruby on Rails applications, based on my recent WellRailed presentation on the subject.
Rails testing miniseries part 2: What we want to test
Before we can get stuck into how to test each bit of our application, we need to be clear about what we need to cover.
Rails testing miniseries part 3: MVC testing
In MVC testing we test that each of parts of our application behave. Testing them separately makes our tests faster to write, faster to run, and reduces rework when we make changes to the app. Covers when to write the tests, and Test::Unit vs. RSpec.
Rails testing miniseries part 5: Controller testing
Selenium RC proxy chaining
Looks like I'm not the only one who needs to chain the Selenium RC proxy to another HTTP proxy. The docs are misleading, here's how to do it.
Selenium RC Firefox 2 support on Ubuntu Hardy
You may find after upgrading your Ubuntu boxes to Hardy Heron that Selenium RC stops working with Firefox. Here's how to fix it.
Selenium RC Firefox 3.0 support on Ubuntu Hardy
If you've upgraded Selenium RC to the latest build you may be disappointed to find that while it supports Firefox 3 now, it can't start Firefox 3 “out of the box” on Ubuntu Hardy. Easy to fix.
Macports tsung build
The macports build of tsung is currently failing here because the SVN checkout is from an HTTPS url with an invalid certificate. I've submitted a Portfile change to use the HTTP tarball, which fixes the problem.