Test Case Specification
1 Answer

Since the test design specifications have recognized the test cast cases to be executed, there is a need to define the test cases with complete specifications. The test case specification document provides the actual values for input with expected outputs. One test can be used for many design specifications and may be re-used in other situations. A test case specification should have the following component according to IEEE recommendation:

Test case specification identifier: A unique identifier is assigned to each test case specification with a reference to its associated test plan.

Purpose: The purpose of designing and executing the test case should be mentioned here. It refers to the functionality you want to check with this test case.

Test items needed: List the references to related documents that describe the items and features, for example, SRS, SDD, and user manual.

Special environmental needs: In this component, any special requirement in the form of hardware of software is recognized. Any requirement of tool may also be specified.

Special procedural requirements: Describe any special condition or constraint to run the test case, if any.

Inter-case dependencies: There may be a situation that some test cases are dependent on each other. Therefore, previous test cases that are run prior to the current test case must be specified.

Input specifications: This component specifies the actual inputs to be given while executing a test case. The important thing while specifying the input values is not to generalize the values, rather specific values should be provided. For example, if the input is in angle, then the angle should not be specified as a range between 0 and 360, but a specific value like 233 should be specified. If there is any relationship between two or more input values, it should also be specified.

Test procedure: The step-wise procedure for executing the test cast case is described here.

Output specifications: Whether a test case is successful or not is decided after comparing the output specifications with the actual outputs achieved. Therefore, the output should be mentioned complete in all respects. As in the case of input specifications, output specifications should also be provided in specific values.

Please log in to add an answer.