Gradle testLogging exceptionFormat "full" (FINERACT-927)

as well as integrationTest --fail-fast
This commit is contained in:
Michael Vorburger
2020-05-05 10:52:02 +02:00
committed by Michael Vorburger ⛑️
parent b6c6d50501
commit edfcb931e9
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -61,5 +61,5 @@ script:
# using "&&" instead of several "-" means that integrationTest does not run if test fails,
# and Docker test does not run if integration test fails, which makes PR failure easier to understand.
# @see https://docs.travis-ci.com/user/job-lifecycle/#customizing-the-build-phase
- ./gradlew --console=plain licenseMain licenseTest licenseIntegrationTest check && ./gradlew --console=plain integrationTest && sudo service mysql stop && docker-compose build && docker-compose up -d && sleep 30s && http --verify=no --timeout 240 --check-status get https://localhost:8443/fineract-provider/actuator/health
- ./gradlew --console=plain licenseMain licenseTest licenseIntegrationTest check && ./gradlew --console=plain integrationTest --fail-fast && sudo service mysql stop && docker-compose build && docker-compose up -d && sleep 30s && http --verify=no --timeout 240 --check-status get https://localhost:8443/fineract-provider/actuator/health
# We stop the mysql system service when running the Docker test to avoid port 3306 conflicts (unless we run the mysql in docker-compose on another port; req. FINERACT-773)
+14
View File
@@ -498,6 +498,20 @@ task integrationTest(type:Test) {
classpath = project.sourceSets.integrationTest.runtimeClasspath
}
integrationTest {
testLogging { // FINERACT-927
events "skipped", "failed"
showStandardStreams = false
exceptionFormat "full"
}
}
test {
testLogging { // FINERACT-927
events "skipped", "failed"
showStandardStreams = false
exceptionFormat "full"
}
}
import com.github.spotbugs.SpotBugsTask
import groovy.sql.Sql