junit 4 all pairwise permutations of test methods

601 views Asked by At

i have a test case that has n test methods, one of the test methods fails when the test case is run. and this failing test method succeeds when run by itself.

i would like to dynamically (at run time) create a set of test suites (or test cases), one for each pair of test methods in the test case.

so a test case with 3 test methods would generate 3!=6 test suites (or test cases).

thanks

0

There are 0 answers