The upper bound on the number of test cases in the new regression test is 2,359,296, but it'll probably, hopefully, be less than that.

We're coming up with a new regression test at work that kind of, maybe, combines both the original “Project: Wolowizard [1]” and the new “Project: Sippy Cup [2]” and my manager, S, came up with 11 variables to test; A with values A, A ‥ A; B with values B, B, B, B; C with values etc. And multiplying out all the possible values of all the variables, I end up with a potential 2,359,296 possible test cases.

Now, some of the cases aren't possible. For instance, values D, D, Dand D can only be tested with value H (or rather, with those values of D, H is the only value H can have), while D, D, D and D can only be tested with values H, H and H. So, just looking at D and H, it's … um … let's see … there are two parties involved, both with D and H values, and does it make sense for PD to call PD? Um … well, in this case, H doesn't really apply to P so out of a possible 32 combinations, only … um … 24 really apply.

I think.

Yeah, it's going to be real fun trying to puzzle out all the cases.

[1] /boston/2010/10/11.1

[2] /boston/2014/03/05.1

Gemini Mention this post

Contact the author