Test Cases

What is a test case?

One of the major issues in testing is that the vocabulary is descriptive, but not standard. Many people would agree that a test case is a single testing action against the object under test. TET, however, calls this a test purpose.

If the test is automated, a test is an executable and its supporting files required to perform one or more test cases.

A generic automated test for an API might include

A generic automated test for a command line tool might include

What makes a test case good?

You can never test to prove that the product is good. Therefore, testers must approach the problem as attempting to prove the product is bad. If tests fail to prove the product is bad, then either the product is ok, or the tests are insufficient.

Things that affect the quality of the tests:


Copyright 1998 Anne Powell

last update 3/8/98