Skip to content

Round test duration seconds to nearest millisecond (3 decimal places) #76

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

MattMcL4475
Copy link

Currently, the test duration is printed with 14 decimal places, like this:

test_name (2.43199897100011 seconds)

This PR is to round the test duration to the nearest millisecond (3 decimal places), to make it more readable and practical, like this:

test_name (2.432 seconds)

Copy link

@alexott alexott left a comment

Choose a reason for hiding this comment

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

Nice addition!

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.

None yet

2 participants