Skip to content

Commit d94a56e

Browse files
committed
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*' ```
1 parent c842a34 commit d94a56e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gradle/quality.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ test
3333
}
3434

3535
task integrationTest(type: Test) {
36+
useJUnitPlatform()
3637
testClassesDirs = sourceSets.integrationTest.output.classesDirs
3738
classpath = sourceSets.integrationTest.runtimeClasspath
3839
testLogging
3940
{
40-
events "failed"
41+
events "passed", "skipped", "failed"
4142
exceptionFormat = 'full'
4243
}
4344
}

0 commit comments

Comments
 (0)