krogold
8 years agoRegular Contributor
testRunner results not coherent
Hello,
I encounter a problem with testRunner results.
I have a testCase with 15 steps, in the teardown script I list the result for each testStep with the following code:
for (testStep in testRunner.getResults()){ log.info "step " + testStep.getTestStep().getName() + " : " + testStep.getStatus() }
As a result I get information for the five last steps only. If I monitor testRunner.getResultCount() I get 47
log.info testRunner.getResultCount() log.info "nb steps : " + testRunner.getTestCase().getTestStepCount()
if I monitor the number of steps in the testCase, I get 15
This snippet used to work properly for some other testCases.
Any idea ? :(