Unit Testing Procedure

For Black Box Testing

1. review the design documentation

2. Establish checklists and scenarios (sample runs) for the critical functions

3. develop tests for each checklist item

4. specify expect results

5. define "driver" or "stub" software required for tests.

For White Box Testing

1. review the design documentation

2. establish test categories such as path execution, I/O checks, interface data correctness, bounds, error handling

3. develop tests for each category

4. specify expect results

5. define "driver" or "stub" software required for tests.