This time let me start with a situation when a test case is made to stand in testing court for hearing. With this I like to say the importance of test case and its objective Lets start.
Attorney(Tester): what is your name?
Ans: My name is “Testcase “
Attorney: Who is your creator?
Ans: A good tester!
Attorney: Where do you stay?
Ans: With all the necessary steps to reach me, I stay in different places like Excel sheets, test management tools
Attorney: What is your role of assuring quality of any application?
Ans: It all depends on my creator i.e Quality process is initated by him I just follow it
Attorney: we say your spoken words tend to decide quality
Ans: Yes of course if the steps used to reach me behave in the expected manner I will be allowed with Green pass to next level else a Red token with appropriate incidents will be raised reaching developers
Attorney: What is the necessary feature to see an ideal test case?
Court was adjourned as time elapsed :) explained below
So it’s better to know importance of each and everything with time because time values more than money so as tester what is that I need to know about designing test case.
To say more detail about the above question as test case creator we should know the ideal features/objective of good test case. So what is it?
What is the objective of test case?
Atomic Find defects Maximize bug count
Assess quality Verify correctness of the product
Assure quality be More informative
So Testcase starts with its identity and leads with the collection of steps to completion resulting in the expected /actual results and falling in a test suite community.
Designing good test cases is a complex art. So what helps in designing it?
- Good knowledge of the domain
- Understand the risk involved
- Knowing the steps in completing the task with expected results and necessary pre requisites
- Setting up the priorities and severity
- Keep it more informative and descriptive.
Advantage:
1. Gives an approach, Description, Pre-conditions to achieve the expect result.
2. Test Cases are useful while writing Traceability Matrix.
3. It shows or avail the traceability of the entire requirements.
Disadvantages:
1. Miswritten Test Cases or human errors in the test cases can only cause the project failure.
"You are the creator of test case be proud of it “

The explanation and the narration is excellent. No doubt in it... However I personally think that testcases are there to executed the steps but we cannot cover every thing (every corner of the AUT) in testcases, there are cases where we should think beyond scenarios and requirements.. As a tester our objective is not only to test the requirements, we should also ensure the quality of it. So exploratory testing/ agile testing is also required is my comment...
ReplyDeletePriyanka I appreciate and thank for your keen observation and analysing the post . Yes I do agree with the statement made above with respect to testcases that some scenarios will be covered when we do exploratory testing . But there can we term charter as an informal collection of testcase ?
ReplyDeleteHappy Testing,
Mahesh