Annotation Type WritesEnvironmentVariable


@Retention(RUNTIME) @Target({ANNOTATION_TYPE,CONSTRUCTOR,METHOD,PACKAGE,TYPE}) public @interface WritesEnvironmentVariable
Marks tests that write environment variables but don't use the environment variable extension themselves.

During parallel test execution, all tests annotated with ClearEnvironmentVariable, SetEnvironmentVariable, ReadsEnvironmentVariable, and WritesEnvironmentVariable are scheduled in a way that guarantees correctness under mutation of shared global state.

For more details and examples, see the documentation on @ClearEnvironmentVariable and @SetEnvironmentVariable.

Since:
0.9