aboutsummaryrefslogtreecommitdiffstats
path: root/tests/build.gradle
diff options
context:
space:
mode:
authorDavid Rautureau <david.rautureau@sonarsource.com>2018-03-12 13:37:51 +0100
committerDavid Rautureau <david.rautureau@sonarsource.com>2018-03-13 17:32:52 +0100
commit75505836a72c89c56d36a62a55ab64100889afd6 (patch)
tree8f9ba7a4e07683b4deef6fee5eb87ab197d1bdbf /tests/build.gradle
parentbe8a0a7d407f9bbd6333e4fe09110b45b0450bf3 (diff)
downloadsonarqube-75505836a72c89c56d36a62a55ab64100889afd6.tar.gz
sonarqube-75505836a72c89c56d36a62a55ab64100889afd6.zip
Improve logging for ITs
Diffstat (limited to 'tests/build.gradle')
-rw-r--r--tests/build.gradle4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/build.gradle b/tests/build.gradle
index 17d053aba7c..ca8a491738a 100644
--- a/tests/build.gradle
+++ b/tests/build.gradle
@@ -139,6 +139,10 @@ task integrationTest(type: Test) {
includeTestsMatching 'org.sonarqube.tests.performance.server.ServerPerformanceSuite'
break
}
+ testLogging {
+ exceptionFormat 'full' // log the full stack trace (default is the 1st line of the stack trace)
+ events "skipped", "failed" // verbose log for failed and skipped tests (by default the name of the tests are not logged)
+ }
}
}