hey I wonder how this TEST_MIN_ITER feature works though...
I expect that if I set -Dtests.iter.min=1 -Dtests.iter=10 and I fail
in any of those iterations that the the runner stops immediately and
prints a failure. Is that correct?

if so I don't understand this code:

 if (testsFailed) {
    lastIterFailed = i;
    if (i == TEST_ITER_MIN - 1) {
      if (verbose) {
        System.out.println("\nNOTE: iteration " + lastIterFailed + " failed !");
      }
      break;
   }
}

this only stops if it fails at tests.iter.min but not if it has failed
test.iter.min+1
This should rather be something like if(i >=TEST_ITERM_MIN-1) right?

simon

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to