ATM outputs from git annex test are custom. I personally find it difficult to find results of failure etc. But what is more important is that it is difficult to script deterministic analytics on top of such results (e.g. as xfailing some specific tests in some specific contexts). I know of TAP protocol which I believe a number of generic testing harnesses support. May be could be some form of --output-format text,tap options for git annex test.
There is also a somewhat related SARIF (Static Analysis Results Interchange Format), which was suggested in another scope, but not familiar with it at all in practice.
https://hackage.haskell.org/package/tasty-tap can be used to do this.
A proof of concept patch is below.
It always uses TAP format, which I would not want because personally I find it hard to read and scan. Using TAP needs to be an option.
Note that every concurrent test job produces its own TAP output. To avoid that problem, in TAP mode the test suite would need to not run concurrent tests.
The added dependency will need a build flag as tasty-tap is not packaged in eg, Debian.
I have thought of several different ways to support concurrent tests with TAP output:
--test-portion=1/3so the caller can run multiple processes in parallel and do whatever combining they like. This is close to the way subtest processes are implemented currently, so probably the easiest option. Also more flexible since it can be used without using TAP.However, I think this should be deferred to a later todo if it turns out to be needed.