jenkinsci / jenkinsci/junit-plugin

[JENKINS-25417] Would like for a way to include setup time in the test duration

Open
#971 0 comments 0 reactions 0 assignees View on GitHub
component:junit-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
87
Forks
351
Avg merge
1d 19h
Merged PRs (30d)
2

Description

---
Originally reported by rteglas, imported from: Would like for a way to include setup time in the test duration


  • status: Open
  • priority: Minor
  • component(s): junit-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 1
  • imported: 2025-11-26

3 attachments

- [Screenshot1.png](https://issues.jenkins.io/secure/attachment/27931/Screenshot1.png)
> ![Screenshot1.png](https://issues.jenkins.io/secure/attachment/27931/Screenshot1.png)
- [Screenshot2.png](https://issues.jenkins.io/secure/attachment/27932/Screenshot2.png)
> ![Screenshot2.png](https://issues.jenkins.io/secure/attachment/27932/Screenshot2.png)
- [SomeTest.java](https://issues.jenkins.io/secure/attachment/27933/SomeTest.java)

Contributor guide

Open the contributing guide

Research direction

Review the attached SomeTest.java and the two screenshots to understand how setup time is currently separated from test duration. Trace the junit-plugin path that reports test durations, then define and verify behavior where setup time is included in the reported duration.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.