A test case contains a description of the test that needs to be conducted on asystem. A test case is reusable and may be included in one or more test suites.Test case description typically includes the following:
Test case identifier:
A unique name or number
What features, path etc are being tested?
Reference to specifications and design documents should be provided
Input consists of input data and/or input actions. Input datamay include or data items to be entered online or datarecords in a file or database to be set up or data items to beinput from the interface of some other software systems.Input actions include keyboard or mouse actions/commandsfor navigation and control necessary for online interaction.
Output consists of output data and/or outcome. Output dataconsists of messages, reports, etc., that would be output oncompletion of the test case. Outcome describes reaching aspecific state, for instance successful completion of atransaction.
List specific hardware, software and network configurationthat needs to be set up for the test.
Test procedure describe the steps for the test setup, teststarting, test executions, results logging, recordingmeasurements, test stopping, and contingency (what to dowhen it all goes wrong). Test steps may also describe howand where to restart a test after a shut down.
Any constraints on performing the test cases.
What tests have to be executed before this on and what if the program fails them?
A criteria that describes under what circumstances a featurecan be considered as "passed"(Test has failed) or "failed"(Test has succeeded) some tines we may describe a"partial pass" criteria also.Depending on the complexity of the software system and the level of testing(Unit, Integration, System and Acceptance) some or all of the items stated abovecould be included in a test case template for recording test case design.
2.3Test Case Template
Depending on testing requirement and the level of testing (Unit, Integration,System and Acceptance) one of the following test case templates may be used for the test case design.
Page 2 of 13