Package org.junitpioneer.jupiter
Annotation Type WritesSystemProperty
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,CONSTRUCTOR,METHOD,PACKAGE,TYPE})
public @interface WritesSystemProperty
Marks tests that write 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