The following are the attributes of good test case.
- A good test has a high probability of finding an error. To find the maximum error, the tester and developer should have complete understanding of the software and attempt to check all the conditions that how the software might fail.
- A good test is not redundant. Every test should have a different purpose from other. We must avoid repetition
- A good test should be neither too simple nor too complex. In general, each test should be executed separately. If we combine more than one test into one test case, it might be very difficult to execute. Sometimes we can combine tests but it may hide some errors.
- There must be diersity in test data for each case
- The intent of each case should be to challenge and break the system
- It should be designed in the way so that it can be reused
- each case must have detailed steps so that any person not having system knowledge can understand the steps in one go.
-Independent , uniuque and should be traceable to requirement
- Each case must contain the following details :
Test case id:
Unit to test: What to be verified?
Assumptions:
Test data: Variables and their values
Steps to be executed:
Expected result:
Actual result:
Pass/Fail:
Comments:
- A good test has a high probability of finding an error. To find the maximum error, the tester and developer should have complete understanding of the software and attempt to check all the conditions that how the software might fail.
- A good test is not redundant. Every test should have a different purpose from other. We must avoid repetition
- A good test should be neither too simple nor too complex. In general, each test should be executed separately. If we combine more than one test into one test case, it might be very difficult to execute. Sometimes we can combine tests but it may hide some errors.
- There must be diersity in test data for each case
- The intent of each case should be to challenge and break the system
- It should be designed in the way so that it can be reused
- each case must have detailed steps so that any person not having system knowledge can understand the steps in one go.
-Independent , uniuque and should be traceable to requirement
- Each case must contain the following details :
Test case id:
Unit to test: What to be verified?
Assumptions:
Test data: Variables and their values
Steps to be executed:
Expected result:
Actual result:
Pass/Fail:
Comments:
No comments:
Post a Comment