[B]Question asked by Shaheen[/B]
How many test case can you write for Calculator? Can we use BVA for this? what are the test cases?
Printable View
[B]Question asked by Shaheen[/B]
How many test case can you write for Calculator? Can we use BVA for this? what are the test cases?
No one here is interested to write test cases for calculator because it is not one hour task, it's more than a day task.Still not sure it will complete.
So, plz try yourself friend, here members can help you if any problem is there.But no one is here to give you spoon feed.
I have got all the time in the world :)
Here i go..
1) Test all the basic functionality +,-,*,/ . Results should be as accepted.
2) Check other complex functionality like sqrt for both +ve and -ve Numbers.
3) Divide by Zero ..Most popular test case ;)
4) Few expressions like 2+-3 .. -3+-3 .. -3-3 ..Must be tested.
5) Perform some operation (+,*..etc) number which will fill up the screen.
6) = button must be tested.
7) Screen should clear up on pressing AC.
8) Multiply by Zero.
9) Multiplication of two negative numbers must be positive. (-3*-3 = 9)
hope this will be helpful... :)
Cheers
Vinay H M
[QUOTE=vinayhm;33276]I have got all the time in the world :)
Here i go..
1) Test all the basic functionality +,-,*,/ . Results should be as accepted.
2) Check other complex functionality like sqrt for both +ve and -ve Numbers.
3) Divide by Zero ..Most popular test case ;)
4) Few expressions like 2+-3 .. -3+-3 .. -3-3 ..Must be tested.
5) Perform some operation (+,*..etc) number which will fill up the screen.
6) = button must be tested.
7) Screen should clear up on pressing AC.
8) Multiply by Zero.
9) Multiplication of two negative numbers must be positive. (-3*-3 = 9)
hope this will be helpful... :)
Cheers
Vinay H M[/QUOTE]
Hi, do you think you have done all. It's not even 2% of 100 test cases. Think again before commitment. enjoy [;)]