Unit Test Plan
BURN
Micah Taylor
Brandon Invergo
Aydrian Howard
Unit Testing Methods
Interfaces:
Each module must first be tested to verify that the data entering and exiting is valid. This should be tested using drivers and stubs as needed. Other modules may be used as drivers or stubs if they have already been tested. If writing drivers and stubs would require an inordinant amount of coding, the programmer may choose to postpone testing the interface to a high level test.
Data Structures:
Each data structure's maximum size must be tested and attempted to be bypassed. In conjunction with loops, upper and lower bounds of the data structure must be verified for data integrity.
Boundaries:
Boundries on all conditionals and data structures should be checked for errors. These structures should be test below, at, and above the absolute extremes when possible.
Path Testing:
Each possible termination state of the module must be manually verified. Branches that involve ranges of values must have the boundaries on the ranges verified. Branches that rely on many independent conditions must be tested with all possible inputs. Loops must have termination state verified by testing.
Error Handling:
Each possible error message must be verified to occur under defined error cases. The error message reached for each case must present the failure in such means that the problem may be diagnosed and repaired
To Do List
Nothing at the moment.
Revision History
Date
|
Name
|
Revision
|
2003-03-24
|
Micah Taylor
|
Initial construction
|