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

Reasonably format used time in TAP output #6

Open
fnogatz opened this issue Aug 28, 2019 · 0 comments
Open

Reasonably format used time in TAP output #6

fnogatz opened this issue Aug 28, 2019 · 0 comments
Labels
good first issue A good issue for your first contribution to library(tap) help wanted Maintainers are not working on this so community help is wanted

Comments

@fnogatz
Copy link
Owner

fnogatz commented Aug 28, 2019

Since version 0.5.0 library(tap) prints the used overall time at the end of the run tests as part of the summary:

# time=1000.3ms
# tests 4
# pass  4

It would be nice to add a new predicate for usage in tap_footer/3 that nicely formats this duration and its unit, e.g., to print 16.3s instead of 16312.6ms, 2:03min instead of 120312.6ms, etc.

@fnogatz fnogatz added good first issue A good issue for your first contribution to library(tap) help wanted Maintainers are not working on this so community help is wanted labels Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue A good issue for your first contribution to library(tap) help wanted Maintainers are not working on this so community help is wanted
Projects
None yet
Development

No branches or pull requests

1 participant