Urgent - The number of test cases

  • 1
  • Question
  • Updated 8 years ago
  • Answered
Hi There!

I am really confused about the number of test cases have been generated for 2-way interaction. Is there any specific formula to generate 2-way test cases for n number of variables and v number of input values for each of these variables? For an example, if I have 3 input variables and each these variables has 7 values, then it's generating 53 test cases for 2-way interaction. What's the method behind this number of test cases? Please let me know.

Thanks in advance,
Shahnewaz
Photo of Shahnewaz

Shahnewaz

  • 2 Posts
  • 0 Reply Likes

Posted 8 years ago

  • 1
Photo of Justin Hunter, Hexawise Founder

Justin Hunter, Hexawise Founder, Founder and CEO

  • 246 Posts
  • 15 Reply Likes
Shahnewaz,

We use a proprietary algorithm that is designed to find the smallest number of tests that are required to achieve 2-way (AKA "pairwise" or "all pairs") coverage. In some cases, the algorithm will take shortcuts that allow it to provide you with results extremely quickly (which is good) but as a result it will provide a solution that is a small number of tests larger than it would have if it searched for additional solution sets (which is unfortunate but the way all such algorithms work).

You mentioned 2-way coverage. 2-way coverage means that whatever two test conditions / test inputs you could imagine could be tested within a single test case WILL be tested together in at least one of the tests shown in the solution (provided, of course that you entered both of them in the "Test Inputs" screen and you did not use the "invalid pairs" feature).

For additional information about what is precisely meant by 2-way, 3-way, 4-way, 5-way, 6-way (and even "mixed strength") coverage provided by Hexawise, please see the examples shown in the Hexawise tool itself (e.g., at the top of the "Create Tests" screen, select "more" / "?" / "See example."). Also, see the introductory articles available at combinatorialtesting.com

I hope this answer helps.

Justin
Photo of Shahnewaz

Shahnewaz

  • 2 Posts
  • 0 Reply Likes
Thanks Justin for such a quick reply. I really appreciate your help. I will go through these articles now that you suggested. If I still have some more questions, I will ask you later.

Shahnewaz