You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently we have integration tests that are annotated with @EnabledIfEnvironmentVariable(named = "CI", matches = "true") and then we need to evaluate the CI env var again in the @BeforeAll because that one still would get called.
@BeforeAllpublicstaticvoidsetup() {
// this is necessary because the @EnabledIf... annotation does not prevent @BeforeAll to be calledvarisCi = propOrEnv("CI", "false");
if(!Boolean.parseBoolean(isCi)) return;
}
Maybe this can be achieved with custom composed annotations (cf. Junit Docs)
The text was updated successfully, but these errors were encountered:
currently we have integration tests that are annotated with
@EnabledIfEnvironmentVariable(named = "CI", matches = "true")
and then we need to evaluate theCI
env var again in the@BeforeAll
because that one still would get called.Maybe this can be achieved with
custom composed annotations
(cf. Junit Docs)The text was updated successfully, but these errors were encountered: