I did a few attempts with the retry plugin and it still doesn't really work
https://github.com/AndreaCrotti/kaocha-retry/blob/main/src/kaocha/plugin/retry.clj#L32
• it looks like wrap-run runs multiple times even if I just do a single run in theory, which is why I had to add that reported
atom set to keep track of what was already reported
• still as it is now it's not actually reporting anything, even though in theory it should report everything that's not a fail, and report failures only if they failed the max number of times allowed
The only other example of wrap-run I found was capture-output but it's not really similar in a way.
I guess it would be nice to see a full trace of the various hooks when they are running a test, to see exactly the order and what kind of input/output they do