Tuesday, January 20, 2015
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” and the new “Project: Sippy Cup” and my manager, S, came up with 11 variables to test; A with values A1, A2 ‥ A8; B with values B1, B2, B3, B4; 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 D1, D2, D4and D6 can only be tested with value H1 (or rather, with those values of D, H1 is the only value H can have), while D3, D5, D7 and D8 can only be tested with values H2, H3 and H4. 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 P1D5 to call P2D5? Um … well, in this case, H doesn't really apply to P1 so out of a possible 32 combinations, only … um … 24 really apply.
Yeah, it's going to be real fun trying to puzzle out all the cases.