Task: Identify Test Cases for Unit Testing
This task describes how to identify the test cases for unit testing.
Relationships
RolesPrimary Performer: Additional Performers:
InputsMandatory:
    Optional:
      Outputs
        Main Description

        Define test context

        The test context consists of what is to be tested (System Under Test, SUT) and special testing classes used to call the SUT’s operations (drivers) and to respond to calls by the SUT (stubs). Identify the test case By definition, a test case consists of all tests necessary to verify some functionality.

        Define test cases

        Identify test cases by identifying the functionality you are building. This functionality may be described by a use case, an activity diagram or flow chart, a state chart, a set of requirements, or a text design description.