Task: Create Unit Test Cases |  |
Every unit should be thoroughly tested before it is released initially.
Disciplines: Testing
Purpose
Unit testing is intended to find those errors that can be exposed by testing the unit in isolation from any other software. Errors such as syntax and logic can be found this way.
Relationships
Roles | Primary Performer: Unit Tester | Additional Performers: Developer
Outputs | Unit Test Cases
Steps
analysis of artifacts under test
identify test scenarios
use the expected use profile of an asset to select the appropriate data
specify test data
identify scenario inputs that are likely to find errors.
implement test data
create test data needed for the test cases. This may require the creation of files or databases. It may be a simple table that will be used in the implementation step.
implement test cases
Implement the test cases using the appropriate technology
More Information
Checklists | Orthogonal Defect Classification