I would like to see the runtime for each test, one by one.
With daml test and --log-level=DEBUG, I think I am able to see the length of time it took to run all the tests.
How is it possible to get results for each test?
I tried adding debug calls to my test script (wrapping each test script, start/end) and thought it would result in a timestamped log output, but seemingly not.
At the moment, there is no way to get timings per test out of daml test.
daml test runs via the same Script service in Daml studio which does not emit trace messages to the terminal so any attempts at wrapping it in getTime + debugRaw isn’t going to work.
You could try daml script-test which runs via a real ledger and does emit (client-side) trace statements to a terminal but keep in mind that then there is also a lot more overhead to the ledger operations which may or may not skew measurements.
I think that trace/debug statements are not visible in the logs printed by daml script-test because it uses INFO level logging and my understanding is that one cannot change that (there is no --log-level option, for example, if I am not wrong).