Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test case duration only reported as NaN #66

Closed
ghost opened this issue Jan 20, 2023 · 0 comments · Fixed by #68
Closed

Test case duration only reported as NaN #66

ghost opened this issue Jan 20, 2023 · 0 comments · Fixed by #68

Comments

@ghost
Copy link

ghost commented Jan 20, 2023

I noticed that in IntelliJ, all tests have a reported duration of "0ms". Digging deeper revealed that the test result sent to the reports contains duration: NaN.
The typedef of the test result does contain a duration: number field, but it's never set - see skip case and execution case.

I'll have time on monday to contribute a fix for this, using the same pattern as for the total test duration calculation.

@ghost ghost mentioned this issue Jan 23, 2023
nicolo-ribaudo pushed a commit that referenced this issue Jan 26, 2023
Co-authored-by: Michael Nestler <michael.nestler@redbull.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Fixes #66
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 a pull request may close this issue.

0 participants