Not sure how to write a test for this, but the following manual tests work:
# shows some tests with (1.21s or 0.02s duration)
(cd core-tests && stack run -- tasty-core-tests)
# shows all test durations
(cd core-tests && stack run -- tasty-core-tests --min-duration-to-report 0)
# shows no test durations
(cd core-tests && stack run -- tasty-core-tests --min-duration-to-report 1m)
Fixes #341
Not sure how to write a test for this, but the following manual tests work: