
com.bloidonia.spock.IgnoreUntil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spock-ignoreuntil Show documentation
Show all versions of spock-ignoreuntil Show documentation
Allows an end date within 30 days to be specified for an ignored spec or feature
The newest version!
package com.bloidonia.spock;
import org.spockframework.runtime.extension.ExtensionAnnotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
@ExtensionAnnotation(IgnoreUntilExtension.class)
public @interface IgnoreUntil {
/**
* @return The date to ignore the feature or spec until (max 30 days from now)
*/
String value();
/**
* @return By default, we will fail when this has expired, change to false to just run the test
*/
boolean failAfter() default true;
/**
* @return This is just for documenting why you ignored the test, and is not used
*/
String message() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy