Testing

Posts tagged with 'Testing':

Rails testing miniseries part 6: View testing

View testing allows you to test out complicated or critical view code, but has probably the lowest payoff in terms of problems prevented per developer minute spec.

More

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.

More

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.

More

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.

More

Rails testing miniseries part 5: Controller testing

In Rails apps the main intelligence is supposed to live in the model. As a result, testing properly-designed controllers should mostly be just testing that things are glued together correctly; if your app's factored well, it should be simple and quick to do.

More

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.

More

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.

More

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.

More

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.

More