The Unit Test Specification

The unit test specification is a statement of the initial state of the unit; the starting point of each test case; the inputs to the unit, including the value of any external data read by the unit; what the test case actually tests, in terms of the functionality of the unit; and the analysis used in the design of the test case (e.g., which decisions within the unit are tested). The specification must include the expected outcome of the test case.

Get Just Enough Software Test Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.