Archive for July, 2009

Getting started with Mechanize

I think this will start a short series on black-box webapp testing.  This is just the first in a series and we’ll add quite a bit of content to it in the next week or so.

A weeks back I helped a development team set up a testing environment for their Ruby on Rails webapp.  The webapp is about 18 months old and had exactly zero tests.  Reverifying its intended behavior was a full time job for some of the developers on the team because there was no way to prove any behavior worked as intended at any given time.  Worse, behavior verification was a manual process and obviously error-prone.
(more…)