Test Case

Definition

A test case is a set of steps with input values, expected output and the preconditions for testing a functionality.

IEEE Standard 610 (1990) defines test case as follows:

A set of test inputs, execution conditions, and expected results developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement.

Objectives behind writing and executing the test cases:

    1. To maintain the knowledge on the product in one place.
    2. To maintain the track of features tested.
    3. Understand the coverage of testing.
    4. Analyze the most buggiest feature.
    5. Maintain traceability across requirements, test cases and defects.
    6. Compliance with processes.
    7. Help management to make software delivery decisions.