Annotation Type Deadline


@API(status=MAINTAINED)
@Documented
@Retention(RUNTIME)
@Target({TYPE,METHOD,ANNOTATION_TYPE})
public @interface Deadline
Set a Deadline for HiddenTest, must be present. After this deadline, hidden tests will be executed if there are no relevant ExtendedDeadline annotations present. The annotation can also be placed on a single method, which will overwrite any annotations on the class level. This annotation is optional if all tests of the test class are PublicTests.

The deadline date (and time) is the date set by this annotation plus the ExtendedDeadline annotation of the test class if present and plus the ExtendedDeadline annotation of the test method, if present. Hidden tests are executed, when LocalDateTime.now() is past this date.

The format has to be DateTimeFormatter.ISO_LOCAL_DATE_TIME. In this case, we allow replacing the T with a space, to improve readability. So this can be e.g.

  • 2019-09-09 06:00
  • 2019-09-09T06:00
  • 2019-09-09T06:00:01
Since:
0.1.0
Version:
1.0.0
Author:
Christian Femers
  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    java.lang.String value  
  • Element Details

    • value

      java.lang.String value