mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
[sinttest] Provide brief summary of failed tests
This commit is contained in:
parent
0191ed7174
commit
1eb5649123
1 changed files with 4 additions and 1 deletions
|
@ -151,7 +151,10 @@ public class SmackIntegrationTestFramework {
|
|||
+ successfulTests + '/' + availableTests + " [" + failedTests + " failed]");
|
||||
|
||||
if (failedTests > 0) {
|
||||
LOGGER.warning("💀 The following " + failedTests + " tests failed! 💀");
|
||||
StringBuilder sb = new StringBuilder("💀 The following " + failedTests + " tests failed! 💀\n -");
|
||||
StringUtils.appendTo(testRunResult.failedIntegrationTests, "\n- ", sb, t -> sb.append(t.concreteTest));
|
||||
LOGGER.warning(sb.toString());
|
||||
|
||||
final SortedSet<String> bySpecification = new TreeSet<>();
|
||||
for (FailedTest failedTest : testRunResult.failedIntegrationTests) {
|
||||
final Throwable cause = failedTest.failureReason;
|
||||
|
|
Loading…
Reference in a new issue