Skip to content

Add timestamp to junit.xml export#306

Merged
ChrisBr merged 1 commit intomainfrom
cbruckmayer/add-timestamp-to-junitxml
Feb 25, 2025
Merged

Add timestamp to junit.xml export#306
ChrisBr merged 1 commit intomainfrom
cbruckmayer/add-timestamp-to-junitxml

Conversation

@ChrisBr
Copy link
Contributor

@ChrisBr ChrisBr commented Feb 25, 2025

Add timestamp to junit.xml export.

'classname' => suite,
'assertions' => test.assertions,
'time' => test.time,
'timestamp' => test.start_timestamp,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this start_timestamp method defined?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

module WithTimestamps
attr_accessor :start_timestamp, :finish_timestamp
end

@ChrisBr ChrisBr merged commit bcb1c0d into main Feb 25, 2025
7 of 12 checks passed
@ChrisBr ChrisBr mentioned this pull request Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants