gotestyourself / gotestsum

'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results.
Apache License 2.0
2.03k stars 119 forks source link

Add the time unit to elapsed time duration #363

Closed afbjorklund closed 1 year ago

afbjorklund commented 1 year ago

One final change, add the time unit to the value...

Less guessing, less "is it nano ? or micro ? or seconds"

And it also allows calling time.ParseDuration directly

Not to mention it now has the same format as printed.