Registering a custom formatter for ExUnit

I’m working on a test library, and I’m trying to create a custom formatter for errors. The ExUnit.Formatter docs says:

Formatters are registered at the ExUnit.EventManager event manager and will be send events by the runner.

but I can’t find a simple way to register my custom formatter and use it in my test suite. Does anybody knows where I can find some help? I never had to deal with GenEvent before.

Many thanks in advance!

1 Like

Sorry for the thread necromancy, but here’s how I do it: https://github.com/bkerley/doc_first_formatter/#installation

6 Likes