apache / apache/maven-surefire

[SUREFIRE-1340] add a kind of progress status to surefire output

Open
#2,339 6 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
461
Forks
588
Avg merge
1d 8h
Merged PRs (30d)
19

Description

**[Romain Manni-Bucau](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=romain.manni-bucau)** opened **[SUREFIRE-1340](https://issues.apache.org/jira/browse/SUREFIRE-1340?redirect=false)** and commented

ATM surefire executes tests but for big suites no way to know where we are in the execution exactly. What about adding a kind of line prefix showing it:

```
[124/1254] normal output
[124/1254] another normal output
[126/1254] another normal output after 2 tests finished
...
```

This would at least allow to know where we are. Idea would be to have a counter in the "executor" and just show it when there is something on stdout/stderr.

Of course it will require a new configuration flag to activate it.

---

1 votes, 4 watchers

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by tracing Surefire's test executor and stdout/stderr handling, then locate the configuration entry point for an opt-in progress flag. Done means emitted output can show the completed and total test counts without changing default output, with coverage for the new option.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.