TAME

Fill out a simple table

Here's how to use TAME to test a simple function, such as an application login page.

A TAME workbook just an ordinary spreadsheet. Name the tab and title the sheet.

The login page has two inputs: the user ID and the password. List these down the left side.

Each input is partitioned into a set of choices that represent different kinds of values that produce different results. What are some different choices for the user ID?

  • A good user ID has to be in the form of an email address.
  • A blank user ID will produce an error.
  • So will a user ID that's not in the form of an email address.
  • And something that's longer than the length of the input field should also be checked.

What are some different choices for the password?

  • A good password has to be several nonblank characters.
  • A blank password (or one that's omitted entirely) will produce an error.
  • A string of all blank or whitespace characters should produce an error.
  • And something that's longer than the length of the input field should also be checked.

Across the top, list the different results that could occur. Connecting the input choices to the results is as simple as marking the cells at the intersections of the input choice rows and the result columns. It's as simple as "X marks the spot." For example:

  • If the user ID is blank, a "User ID required" message is produced.
  • If the password is blank, a "Password required" messsage is produced.
  • Other error messages are produced if the user ID isn't in the form of an email address, the user ID is too long, the password is too long, or consists of all blank characters.

For the login to be successful, the user ID has to name a real user and the password has to be correct for the user. These are called "environment conditions."

  • Other errors are displayed if the user ID doesn't name a real user or the password isn't the right password for the user.
  • A Successful Login result requires a good user ID, a good password, a user with that user ID, and the right password for that user.

You can see how TAME gets you thinking about different situations and makes it really easy to see what leads to what results.

Company
Copyright 2017 Model Compilers LLC - 5.0.6384.138