What is Software Test Case?

A test case has a component that describes an input, action or event and an expected response, to determine if a feature of an application is working correctly.

A formal written test case can be divided into three main parts: 

Information
Information consists of general information about the test case such as a case identifier, case creator info, test case version, formal name of the test case, purpose or brief description of the test case and test case dependencies. It should also include specific hardware and software requirements (if any) and setup or configuration requirements.

ActivitiesThis part consists of the actual test case activities such as the environment that should exist during testing, activities to be done at the initialization of the test, activities to be done after test case is performed, step-by-step actions to be done while testing and the input data that is to be supplied for testing.

ResultsResults are the outcomes of a performed test case. Result data consists of information about expected results, which is the criteria necessary for the program to pass the test and the actual recorded results.

Why we write test cases?The basic objective of writing test cases is to validate the testing coverage of the application.

This entry was posted in . Bookmark the permalink.

Leave a reply

Copyright © 2012 Software Testing Knowledge