Closed oxinabox closed 2 years ago
"Dubious" is an understatement. It should explain that combinatoric testing is an effort to find code paths, but that's complicated, so I got lazy. I'll link to a PR with a more proper, and realistic, explanation.
If you think about the set of parameters as a space of all allowed parameter combinations, then the example you gave, for instance, is two-dimensional and each dimension covers all floats and integers. Combinatorial testing rests on the idea that arguments that are far apart from each other in the input parameter space are more likely to cover more code paths.
But the docs should be less technical than that. I'll add the PR before we close it.
The docs currently say:
This seems dubious. Appropriate choice of combinatoric elements can find all code paths. But for example
will not test all paths.
I think this can be contrasted to things that directly generate the test code.