Run code after all tests in umbrella project finish

I’m trying to write some code after all tests for all applications in an umbrella app finishes. Is there a way to do that? https://hexdocs.pm/ex_unit/ExUnit.Formatter.html doesn’t really work because it would need to be added to each application in the umbrella individually and the :suite_finished event runs at the end of each application’s suite (not the overall umbrella project).

Maybe just add an alias for test in your mix.exs that runs another task after tests have completed?

2 Likes

Okay, that works :+1: Thanks!