First, add TeamCityExUnitFormatter to your mix.exs
dependencies:
def deps do
[{:teamcity_exunit_formatter, "~> 0.3.0"}]
end
Then, update your dependencies:
$ mix deps.get
Add this to your test_helper.exs
:
if System.get_env("TEAMCITY_VERSION") do
ExUnit.configure formatters: [TeamCityExUnitFormatter]
end
ExUnit.start