How to wait until all test in ExUnit Stopped

I think a custom formatter is generally the way to go: How do can I write code to be run *after* tests are executed?