Class SpringRepeat

    • Field Detail

    • Constructor Detail

      • SpringRepeat

        public SpringRepeat​(Statement next,
                            Method testMethod)
        Construct a new SpringRepeat statement for the supplied testMethod, retrieving the configured repeat count from the @Repeat annotation on the supplied method.
        Parameters:
        next - the next Statement in the execution chain
        testMethod - the current test method
        See Also:
        TestAnnotationUtils.getRepeatCount(Method)
      • SpringRepeat

        public SpringRepeat​(Statement next,
                            Method testMethod,
                            int repeat)
        Construct a new SpringRepeat statement for the supplied testMethod and repeat count.
        Parameters:
        next - the next Statement in the execution chain
        testMethod - the current test method
        repeat - the configured repeat count for the current test method