-
- Identify Features to Test
- Using the Functional Specification, Preliminary and Detailed Design Specification (Unit Procedural Description) identify:
- All Functions performed by the Unit
- All Inputs to the Unit
- All Outputs from the Unit
- Define all ranges and discrete values of the test data necessary to run the tests
- Prepare the Unit Test Plan following the Unit Test Plan guidelines
Note: See the Appendix entitled Templates for the template to be used and a description of the cover page contents.
- Design a set of Test Cases
- Use the checklists for the five types of coverage and outlined functions, inputs and outputs to create the minimum set of test cases for testing the functionality of the unit
- For each test case identified in the first point:
- State the condition that will be tested by the test case (this should be used as the title of the test case)
- List the steps/actions to be performed in order to accomplish the test
- For each action performed identify the expected result
- Create test data necessary to create the condition being tested and for each piece of data, indicate the expected results
- For example, a test case for an invalid id on a data entry screen could be named “Invalid id”. The title states the condition of the test. The procedure for testing this condition should indicate in which data entry field the cursor should be positioned and what key should be pressed to trigger the edit. A table containing the various data elements to be entered can be attached and referenced by one of the steps in the procedure. This data table could also contain the expected results for each data item to be entered.
- Note: Skeletons for the test plan and test case are available as templates in Word for Windows.
Leave a Reply
You must be logged in to post a comment.