Show human readable times on summary
See original GitHub issueCurrently the test summary shows the total time in seconds:
============== 11 passed in 174.98 seconds ==============
I propose we show a human-readable times instead:
============== 11 passed in 2:54.98 seconds =============
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:12 (11 by maintainers)
Top Results From Across the Web
Displaying Human Readable Time Spans - No Longer Set
Display the time span in the largest units possible (e.g., 5 minutes instead of 300 seconds); Concatenate multiple units with commas; Handle ...
Read more >Display human readable time from EPOCH time - PHP
I want to convert this time to a human readable format. I have written in my select query, which is not working. $sql...
Read more >Human readable memory sizes in top? - Unix Stack Exchange
Show activity on this post. You can switch the memory unit by pressing e . E will select the memory unit in the...
Read more >Linux and Unix du command tutorial with examples
Tutorial on using du, a UNIX and Linux command for estimating file space usage. Examples of showing a disk usage summary, outputting a...
Read more >Linux commands: du and the options you should be using
The lowly du command has a lot to offer space-exploring sysadmins ... to get a summary of the directory's usage in a human-readable...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Here’s how the last 2 suggestions look like, using pytest’s own summary so we can look at a real case:
Changes to:
I personally like it. 👍
I guess @tadeu 's suggestion looks good. However I think using
hh:mm:ss
would be more interesting, e.g.,I am aware that tests are not supposed to take hours to run, but using the complete notation seems to eliminate any confusion.