Annotation Type WritesEnvironmentVariable
@Retention(RUNTIME)
@Target({CONSTRUCTOR,METHOD,PACKAGE,TYPE})
@Inherited
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