-
@Retention(RUNTIME) @Target({CONSTRUCTOR,METHOD,PACKAGE,TYPE}) @Inherited public @interface WritesEnvironmentVariableMarks 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, andWritesEnvironmentVariableare scheduled in a way that guarantees correctness under mutation of shared global state.For more details and examples, see the documentation on
@ClearEnvironmentVariableand@SetEnvironmentVariable.- Since:
- 0.9