public int getIterationIndex() {
    return iterationIndex;
  }
Return this iterations's index in the sequence of iterations of the owning feature
method. The index starts with 0 for the first iteration and then counts up continuously.

@return this iteration's index in the sequence of iterations of the owning feature method
spock-core/src/main/java/org/spockframework/runtime/model/IterationInfo.java