bats icon indicating copy to clipboard operation
bats copied to clipboard

Show test spent time

Open david-caro opened this issue 8 years ago • 3 comments

It would be really useful to get the test run time along with the result when running the tests, that will allow easier check of which tests are taking most of the time and ease building faster tests

david-caro avatar Mar 16 '16 12:03 david-caro

I'd love to see this feature built-in as well. In the meantime, we've instrumented the dokku test suite thusly. It's obviously not the same as per test timing but it at least shows us how long each bats file takes.

michaelshobbs avatar Mar 16 '16 15:03 michaelshobbs

I like this idea also, it would be helpful to measure which case kills the cpu and know I have to turn back to the wrapped command and do manual profiling by time command

skyscribe avatar May 20 '16 03:05 skyscribe

See PR #177

harschware avatar Aug 19 '16 18:08 harschware