Working around Gradle bugs; fixes gh-1910

This commit is contained in:
Marcin Grzejszczak
2023-06-26 14:49:43 +02:00
parent 42873a2fad
commit 38fb1bd81e

View File

@@ -46,11 +46,13 @@ dependencies {
}
contractTest {
useJUnitPlatform()
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)"