apache / apache/maven-surefire

[SUREFIRE-1656] Print Total Elapsed Time of Tests

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

Description

**[David Mollitor](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=belugabehr)** opened **[SUREFIRE-1656](https://issues.apache.org/jira/browse/SUREFIRE-1656?redirect=false)** and commented

```java
[INFO] Running org.apache.avro.reflect.TestReflectData
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.022 s - in org.apache.avro.reflect.TestReflectData
[INFO] Running org.apache.avro.TestDataFileCustomSync
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.TestDataFileCustomSync
[INFO]
[INFO] Results:
[INFO]
[WARNING] Tests run: 3163, Failures: 0, Errors: 0, Skipped: 1
[INFO]
[INFO]
```

There is a per-test-suite 'time elapsed' value. Please add a total 'time elapsed' as part of the results output.

---
No further details from [SUREFIRE-1656](https://issues.apache.org/jira/browse/SUREFIRE-1656?redirect=false)

Contributor guide

Open the contributing guide

Research direction

Start by locating the results-output code that emits the per-test-suite "Time elapsed" lines and the existing tests for the final results summary. Run the relevant Surefire tests before changing anything; done means the results output includes a total elapsed time alongside the aggregate test counts.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.