Annotation Type ReadsSystemProperty
@Retention(RUNTIME)
@Target({CONSTRUCTOR,METHOD,PACKAGE,TYPE})
@Inherited
public @interface ReadsSystemProperty
Marks tests that read system properties but don't use the system property extension themselves.
During
parallel test execution,
all tests annotated with ClearSystemProperty, SetSystemProperty, ReadsSystemProperty, and WritesSystemProperty
are scheduled in a way that guarantees correctness under mutation of shared global state.
For more details and examples, see
the documentation on @ClearSystemProperty and @SetSystemProperty.
- Since:
- 0.9