Skip to content

Commit

Permalink
Java: Output VAAS_URL before all tests, include slf4j-simple to preve…
Browse files Browse the repository at this point in the history
…nt "SLF4J: No SLF4J providers were found." warning
  • Loading branch information
Philip Stadermann committed Dec 22, 2024
1 parent fa18e91 commit afa55f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ dependencies {
implementation 'io.github.cdimascio:dotenv-java:3.0.2'
testImplementation 'org.testng:testng:7.10.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.3'
testImplementation 'org.slf4j:slf4j-simple:2.0.9'

testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.3'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.3'

Expand All @@ -45,6 +47,7 @@ test {
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams true
}
}

Expand All @@ -59,6 +62,7 @@ tasks.register('testWithoutErrorLogProducer', Test) {
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams true
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ private static Optional<File> findFile(String name) {
@BeforeAll
public static void setUpAll() throws URISyntaxException, InterruptedException, IOException, ExecutionException,
TimeoutException, VaasAuthenticationException {
System.out.println("VAAS_URL=" + getEnvironmentKey("VAAS_URL"));
vaas = getVaasWithCredentials();
}

Expand Down

0 comments on commit afa55f9

Please sign in to comment.