How to display failed tests on the bottom when running mix test --trace?

I didn’t find any way to display failed tests on the end of test execution when running mix test --trace. This is really helpful for projects that have 1000+ test cases.

Is there a way to configure mix test, or maybe a custom exunit formatter that I can use?

1 Like

No such option is built-in so far. Should be able to do it with an ExUnit custom formatter.

Or write a shell script to aggregate the failures:

1 Like