sstephenson/bats

Show test spent time

Opened this issue · 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

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.

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

See PR #177