Skip to content

Commit 40ad9bf

Browse files
committed
Enhanced logging
1 parent 35fad1e commit 40ad9bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-test-smart-context/src/main/java/com/github/seregamorph/testsmartcontext/SmartDirtiesTestsSorter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ private void logSuiteTestsPerConfig(
183183
) {
184184
StringWriter sw = new StringWriter();
185185
PrintWriter pw = new PrintWriter(sw, true);
186-
pw.println("Running suite of " + (itClassesSize + nonItClassesSize) + " test classes" + ". "
187-
+ itClassesSize + " Spring integration test classes grouped and reordered by MergedContextConfiguration "
186+
pw.println("Running suite of " + (nonItClassesSize > 0 ? nonItClassesSize + " unit and " : "")
187+
+ itClassesSize + " integration test classes grouped and reordered by their MergedContextConfiguration "
188188
+ "(" + sortedConfigToTests.size() + " groups):");
189189
sortedConfigToTests.forEach(itClasses -> {
190190
pw.println("---");

0 commit comments

Comments
 (0)