Print Page | Close Window

What Is a Good Test Case?

Printed From: One Stop Testing
Category: Software Testing @ OneStopTesting
Forum Name: Test Cases @ OneStopTesting
Forum Discription: You must be well versed in writting Good Test Cases as they only will decide whether you can catch most of bugs or not.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=159
Printed Date: 14Jun2024 at 5:08am


Topic: What Is a Good Test Case?
Posted By: Shreya
Subject: What Is a Good Test Case?
Date Posted: 22Feb2007 at 6:16pm
Designing good test cases is a complex art. The complexity comes from three sources. Test cases help us discover information. Different types of tests are more effective for different classes of information. Test cases can be "good" in a variety of ways. No test case will be good in all of them. People tend to create test cases according to certain testing styles, such as domain testing or risk-based testing. Good domain tests are different from good risk-based tests.



Replies:
Posted By: somanianand
Date Posted: 07May2007 at 11:16pm
Testcase should be :
1. only single purpose.
2. not more complex. easy steps.
3. Starting & end point should be same.
4. Self understanded.
5. with all commits
6. variable name should understandable like "int abc" - > int i_abc
7. testcase should clear & reusable.
8. testcasse should maintainable.Wink


Posted By: csraju.infy
Date Posted: 01Aug2007 at 1:12am

You can add some more points like

1. It should cover the requirment.



Posted By: pujathakur84@gm
Date Posted: 17Sep2007 at 2:01am
test cases are the series of steps whic are used to test the functionality on the basisf a valid use case.
 
And use case are those requirement on the basis of which product has been designded.



Print Page | Close Window