Remove useJUnitPlatform() as this is the default from the Gradle plugin (#1914)

This commit is contained in:
Shannon Pamperl
2023-07-02 23:43:36 -05:00
committed by GitHub
parent 2d11471dbb
commit 80359e2cb4

View File

@@ -46,13 +46,10 @@ dependencies {
}
contractTest {
doFirst { // https://github.com/spring-cloud/spring-cloud-contract/issues/1910
useJUnitPlatform()
}
systemProperty 'spring.profiles.active', 'gradle'
testLogging {
exceptionFormat = 'full'
}
testLogging {
exceptionFormat = 'full'
}
afterSuite { desc, result ->
if (!desc.parent) {
println "Results: (${result.testCount} tests, ${result.successfulTestCount} successes, ${result.failedTestCount} failures, ${result.skippedTestCount} skipped)"