Skip to content

Conversation

@dubinsky
Copy link
Contributor

When running on Scala.js, if duration associated with the test event is available, bubble it up through the SBT's test interface using the slot dedicated to just such information: sbt.testing.Event.duration.

In addition to it being a shame to throw away information about the duration that is literally in our hands, this avoids weird-looking negative duration values in test reports.

…is available, bubble it up through the SBT's test interface using the slot dedicated to just such information: sbt.testing.Event.duration.

In addition to it being a shame to throw away information about the duration that is literally in our hands, this avoids weird-looking negative duration values in test reports.
Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

LGTM!

@tgodzik tgodzik merged commit 3b8a255 into scalameta:main Apr 29, 2025
9 checks passed
@dubinsky
Copy link
Contributor Author

LGTM!

Thank you, Tomasz!

@tgodzik
Copy link
Contributor

tgodzik commented Apr 29, 2025

@dubinsky
Copy link
Contributor Author

Running a release here https://github.com/scalameta/munit/actions/runs/14737417453

Thank you very much!

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