Tuesday 4 June 2013

Test Case in Software Testing .



WHAT IS TEST CASE?





A test case has components that describes an input, action or event and an expected response, to determine if a feature of an application is working correctly.”
A test case in software engineering is a set of conditions or variables under which a tester will determine whether an application or software system is working correctly.

Why do we write test cases?
The basic objective of writing test cases is to validate the testing coverage of the application. If you are working in any CMMi company then you will strictly follow test cases standards. So writing test cases brings some sort of standardization and minimizes the ad-hoc approach in testing.
Writing effective test cases is a skill and that can be achieved by some experience and in-depth study of the application on which test cases are being written.

There are levels in which each test case will fall in order to avoid duplication efforts. 
Level 1:In this level you will write the basic test cases from the available specification and user documentation.

Level 2:This is the practical stage in which writing test cases depend on actual functional and system flow of the application.

Level 3:This is the stage in which you will group some test cases and write a test procedure. Test procedure is nothing but a group of small test cases maximum of 10.

Level 4:Automation of the project.This will minimize human interaction with system and thus QA can focus on current updated functionalities to test rather than remaining busy with regression testing.

Fields in test cases:
Test case id Input
Expected output
Actual output
pass/Fail

Well written test cases can make the testing cycle smooth and efficient. A good test case is easy to determine if a feature of an application is working correctly.

Post by :- Madhavi.

Published by :- Pardha Saradhi

No comments:

Post a Comment