From d94a56ed3dafd6d342c8a906e447155b6b0f5e31 Mon Sep 17 00:00:00 2001 From: Lucas Burson Date: Tue, 22 Mar 2022 23:07:35 -0500 Subject: [PATCH] Allow integration tests to be ran Junit5 was not configured for the integration tests, and this was fixed. Run the tests with ``` host=127.0.0.1 scheme=http apiKey=1234 \ ./gradlew --info --no-daemon --project-prop runIntegrationTests \ clean integrationTest \ --tests '*BatchUploaderIntegrationTest*' \ --tests '*ChallengeAPIIntegrationTest*' ``` --- gradle/quality.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gradle/quality.gradle b/gradle/quality.gradle index 3b7ddf9..aa702ae 100644 --- a/gradle/quality.gradle +++ b/gradle/quality.gradle @@ -33,11 +33,12 @@ test } task integrationTest(type: Test) { + useJUnitPlatform() testClassesDirs = sourceSets.integrationTest.output.classesDirs classpath = sourceSets.integrationTest.runtimeClasspath testLogging { - events "failed" + events "passed", "skipped", "failed" exceptionFormat = 'full' } }