May 02 2007

Testing the Unknown

One of the guidelines to follow when writing functional tests is to use real-world data in your tests.

So, how do you write real-world tests for an inherited application that deals with a subject matter on which you have insufficient knowledge?

You don’t. Really!

Selenium IDE to the rescue!

The Selenium IDE is a fantastic Firefox plugin that lets you record everything you do in your browser and then lets you replay, step through or edit the recording.

When faced with functional testing an application in an obscure-to-you field, you can have someone who knows what the application should do run through a bunch of activities with Selenium IDE recording every move they make.

Then you can go back through the recorded test and start building up a test suite.

Hurray!

Add a Comment

  Textile Help

<< xkcd Takes on Regular Expressions

Shaking off Tiredness >>