You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pairwise tests rely on a random variable to generate the subset of permutations. This variable is defined as static in the Case class.
So the random value(s) obtained by test methods in PairwiseTest class depend on the execution order of these methods, and if one of them is added/removed, altering the order, the set of values in the received file may be different from the set in the approved file. For instance, commenting out the testPairs method, the testPairsScrubbed fails.
I think that the issue may be solved by making non-static the random variable (and the corresponding method).
The text was updated successfully, but these errors were encountered:
Pairwise tests rely on a random variable to generate the subset of permutations. This variable is defined as static in the Case class.
So the random value(s) obtained by test methods in
PairwiseTest
class depend on the execution order of these methods, and if one of them is added/removed, altering the order, the set of values in the received file may be different from the set in the approved file. For instance, commenting out thetestPairs
method, thetestPairsScrubbed
fails.I think that the issue may be solved by making non-static the
random
variable (and the corresponding method).The text was updated successfully, but these errors were encountered: