close
Skip to content

Introduce reportTestTimestamp option and include timestamp for test sets and test cases (#3261)#3302

Merged
olamy merged 1 commit into
apache:surefire-3.5.xfrom
olamy:fix/3.5.x/backport-pr-3261
Mar 2, 2026
Merged

Introduce reportTestTimestamp option and include timestamp for test sets and test cases (#3261)#3302
olamy merged 1 commit into
apache:surefire-3.5.xfrom
olamy:fix/3.5.x/backport-pr-3261

Conversation

@olamy
Copy link
Copy Markdown
Member

@olamy olamy commented Mar 2, 2026

  • Introduce reportTestTimestamp option and include start timestamps in XML reports

  • Explicitly state deprecation reason of StatelessXmlReporter ctor, and inline toIsoInstant logic

  • Make test/testset startAt getters package private, and remove sleep behavior in dummy tests

  • Adapt surefire test report format to include timestamp field

Following this checklist to help us incorporate your
contribution quickly and easily:

  • Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean install to make sure basic checks pass. A more thorough check will
    be performed on your pull request automatically.
  • You have run the integration tests successfully (mvn -Prun-its clean install).

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

…ets and test cases (apache#3261)

* Introduce reportTestTimestamp option and include start timestamps in XML reports

* Explicitly state deprecation reason of StatelessXmlReporter ctor, and inline toIsoInstant logic

* Make test/testset startAt getters package private, and remove sleep behavior in dummy tests

* Adapt surefire test report format to include timestamp field
@olamy olamy added the enhancement New feature or request label Mar 2, 2026
@olamy olamy self-assigned this Mar 2, 2026
@olamy olamy merged commit a970fef into apache:surefire-3.5.x Mar 2, 2026
14 checks passed
@olamy olamy deleted the fix/3.5.x/backport-pr-3261 branch March 2, 2026 23:05
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 2, 2026

@olamy The PR can't be associated to a milestone, because there are multiple open milestones. Please add the text "branch: surefire-3.5.x" to the description to the milestone where this PR belongs to.

@olamy olamy added this to the 3.5.6 milestone Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants