All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spock.genesis.transform.Iterations.groovy Maven / Gradle / Ivy

Go to download

Mostly lazy data generators for property based testing using the Spock test framework

The newest version!
package spock.genesis.transform

import java.lang.annotation.ElementType
import java.lang.annotation.Retention
import java.lang.annotation.RetentionPolicy
import java.lang.annotation.Target

/**
 * Annotation to mark Spock feature methods that should have the date providers in the where block limited.
 * See {@link GenASTTransformation} for implementation.
 */
@Retention(RetentionPolicy.SOURCE)
@Target([ElementType.METHOD, ElementType.TYPE])
@interface Iterations {
    /**
     * The number of iterations to limit to or default to 100.
     */
    int value() default 100 //the default value is not used by the AST transformation but is here for reference
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy