Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Show human readable times on summary #5707
I also prefer to tend to be more exact than adding an approximation, and I agree dropping the fractions of a second is reasonable.
So I think we are converging to this:
We might also consider adding the unit:
I made a quick poll here at work, so far it is unanimous to have the human-readable times.
I guess @tadeu 's suggestion looks good. However I think using
I am aware that tests are not supposed to take hours to run, but using the complete notation seems to eliminate any confusion.
Here's how the last 2 suggestions look like, using pytest's own summary so we can look at a real case:
I personally like it.