You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jglick (via GitHub)" <gi...@apache.org> on 2025/03/13 17:49:19 UTC
[I] Dedicated display of Surefire running tests [maven-mvnd]
jglick opened a new issue, #1294:
URL: https://github.com/apache/maven-mvnd/issues/1294
### New feature, improvement proposal
Given that #789 remains unsolved, I doubt there is any immediate prospect of extra functionality being added, but just in case:
On a large multimodule reactor with lots of expensive tests run by Surefire, using `mvnd` rather than `mvn` (or `mvnd --serial`) has a major downside: most of the time the display is uninformative about actual progress because it just shows
```
:some-module surefire:3.5.2:test (default-test)
```
for minutes on end. Whereas running a serial tool would display
```
…
[INFO] Running com.acme.SomeTest
[INFO] Running com.acme.SomeOtherTest
[INFO] Running com.acme.YetAnotherTest
[INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 99.123 s -- in com.acme.SomeTest
…
```
in real time. It would be very nice if `mvnd` in parallel mode showed some compact indicator like
```
:some-module surefire:3.5.2:test (default-test) 240✅ 3❌ 11⊖ SomeOtherTest, YetAnotherTest, …3 more
```
updated live so you can see which tests are being run and the running totals (pass/fail/skip). I presume this would require Surefire to emit some sort of event which the Maven core API does not yet define.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org