Skip to content

Commit 06e115b

Browse files
committed
Improve log messages
1 parent b848880 commit 06e115b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/main/java/de/donnerbart/split/TestSplit.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ public TestSplit(
6262
public void run() throws Exception {
6363
LOG.info("Split index {} (total: {})", splitIndex, splitTotal);
6464
LOG.info("Working directory: {}", workingDirectory);
65+
LOG.info("Glob: {}", glob);
66+
if (excludeGlob != null) {
67+
LOG.info("Exclude glob: {}", excludeGlob);
68+
}
69+
if (junitGlob != null) {
70+
LOG.info("JUnit glob: {}", junitGlob);
71+
}
6572
final var testPaths = getPaths(workingDirectory, glob, excludeGlob);
6673
final var classNames = fileToClassName(testPaths, exitCodeConsumer);
6774
if (classNames.isEmpty()) {
@@ -112,7 +119,7 @@ public void run() throws Exception {
112119
testCases.stream()
113120
.sorted(Comparator.reverseOrder())
114121
.forEach(testCase -> splits.stream().sorted().findFirst().ifPresent(split -> {
115-
LOG.debug("Splitting test {} to split #{}", testCase.name(), split.index());
122+
LOG.debug("Adding test {} to split #{}", testCase.name(), split.index());
116123
split.add(testCase);
117124
}));
118125

0 commit comments

Comments
 (0)