Is there any formula for deciding the number of test cases to be written for a particular requirement. I was asked in an interview, that if the is a requirement of say R1, R2, R3, then what is the formula for deciding the number of test cases to be written for these requirements?

Questions by nutankattapuram   answers by nutankattapuram

Showing Answers 1 - 30 of 30 Answers

kr1shna

  • Jan 29th, 2007
 

There is no limit for writing Test cases. While writing test cases you have to keep the business flow in mind. Say you wrote 100 Cases for R1, your friend may write 100+1 for the same R1. It all depends the way you write and the person who reviews it. if the person who is reviewing feels all the scenario are covered then that would be the End.-Sudha Krishna

  Was this answer useful?  Yes

Keerthy

  • Jan 30th, 2007
 

There is no formula which decides the number of test cases to be written for a particular requirement.We will write the test cases in such a way that all the functionalities of the give requirements ie R1, R2 or R3 etc are checked properly.

  Was this answer useful?  Yes

Sharavanan

  • Jan 31st, 2007
 

There is no formula to discover the number of test case needs to be written.The very important thing is - you need to cover all the points given in the SRS or FRS, all kinds of scenarios needs to be covered for each SRS point.

  Was this answer useful?  Yes

There is no exact formula for writing test cases.But in my exp I found that ,Total test cases = number of inputs * 1.6Just u apply to one requirement &check it.regards,Chalapathi.

  Was this answer useful?  Yes

There is no seperate formuala for wititng that much test cases to the Requirements R1, R2, R3 etc... The Thing is that the Test Cases should cover all the requirements with the SRS, FRS, Scenarios and the Business Logic.

  Was this answer useful?  Yes

Nitin

  • Apr 6th, 2015
 

No I dont think so. Because if there are 4 buttons of combinations, then total number of test cases are 4X3X2X1= 24.

  Was this answer useful?  Yes

Abhishek

  • Feb 4th, 2017
 

How many test cases are possible? How can we find that exact number?

  Was this answer useful?  Yes

KIran Antony

  • Jun 9th, 2017
 

I don't think there is no limit, Every Requirement must have at-least 3 to 3 test cases minimum if we have categorized the requirement in proper way, For example is there is a functional requirement there should be min of 2 test cases(Positive and negative) or more(depend on the testers ability and experience). Writing 100 test case is against testing principle . It is always good to decide how many test cases should be minimum instead of saying maximum.

  Was this answer useful?  Yes

Chandrika

  • Feb 5th, 2018
 

We can write no. of test cases as many as possible based on requirement but 1st we will write test case for major functionalities. and we can use decision table.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions