An ExUnit formatter that emits telemetry events about your test suite.
After some more thinking, and using this in a project I've come to the conclusion that ex_unit_telemetry_formatter is unecessary. Instead of using ex_unit_telemetry_formatter and handling the telemetry events - why not just go straight to writing a customer formatter that handles the events straight from ExUnit? One less dependency, and same functionality.
- Enable reporting of test suite metrics to external systems
See lib/ex_unit_telemetry_formatter.ex
documentation.
Not on Hex yet! I want to test the formatter in some projects first.
If available in Hex, the package can be installed
by adding test_stats
to your list of dependencies in mix.exs
:
def deps do
[
{:ex_unit_telemetry_formatter, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/test_stats.