-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add test duration #333
Add test duration #333
Conversation
printf "%s | Total tests: %s\n" "$BASHUNIT_VERSION" "$total_tests" | ||
printf "%s | Tests: ~%s\n" "$BASHUNIT_VERSION" "$total_tests" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reason: counting total tests is easy, but not the data providers. Therefore, I would like an overview of the number of tests. Still, I don't mind (at least for now) the exact consideration of data_provider level, especially considering that this might be performance-wise costly... so I would rather postpone this (if even needed).
Therefore, I added the ~ to clarify that this is an honest estimation.
π Description
Right now, you can see total exec time only at the end but not on the individual test level.
π Changes
Display test runtime if
BASHUNIT_SHOW_EXECUTION_TIME
is enabledβ To-do list
CHANGELOG.md
to reflect the new feature or fixπΌοΈ Demo
BEFORE
AFTER