Define Test Specifications?
The Test case specifications should be developed from the test plan and are the second phase of the test development life cycle. The test specification should explain "how" to implement the test cases described in the test plan.
Test Specification Items Each test specification should contain the following items :
> Case No : The test case number should be a three digit identifer of the following form: c.s.t,
> where : c- is the chapter number, s- is the section number, and t- is the test case number.
> Title : is the title of the test.
> ProgName : is the program name containing the test.
> Author : is the person who wrote the test specification.
> Date : is the date of the last revision to the test case.
> Background : (Objectives, Assumptions, References, Success Criteria) : Describes in words how to conduct the test.
> Expected Error(s) : Describes any errors expected.
> Reference(s) : Lists reference documententation used to design the specification.
> Data : (Tx Data, Predicted Rx Data): Describes the data flows between the Implementation Under Test (IUT) and the test engine.
> Script : (Pseudo Code for Coding Tests): Pseudo code (or real code) used to conduct the test.
Example Test Specification
> Title : Invalid Sequence Number (TC)
ProgName : Background : (Objectives, Assumptions, References, Success Criteria)
Validate that the IUT will reject a normal flow PIU with a transmissionheader that has an invalid sequence number.
Data: (Tx Data, Predicted Rx Data)
<-------- DATA FIS, OIC, DR1 SNF=20
<-------- DATA LIS, SNF=20
--------> -RSP $2001
> Script : (Pseudo Code for Coding Tests)
SEND_PIU FIS, OIC, DR1, DRI SNF=20
SEND_PIU LIS, SNF=20