View Source README

Travis][travis badge]][travis]
[![Hex.pm Version][hex version badge]][hex]
[![Hex.pm License][hex license badge]][hex]
[![Erlang Versions][erlang version badge]][travis]
[![Build Tool][build tool] [Donations

Unite

Pretty EUnit test formatters

Example output

installation-usage

Installation & Usage

Add Unite as a dependency in your rebar.config and enable the Unite formatter:

{profiles, [
    {test, [
        {deps, [unite]},
        {eunit_opts, [no_tty, {report, {unite_compact, []}}]}
    ]}
]}.

Using no_tty is important, because it disables the standard EUnit output.

Then just run Rebar 3 as usual: rebar3 eunit.

profiling

Profiling

To get timings of long running tests, add profile to the option list:

{eunit_opts, [no_tty, {report, {unite_compact, [profile]}}]}.

This will show the top 10 slowest tests (or the top N slowest tests if {profile, N} is used).

donations

Donations

If you or your company use Unite and find it useful, donations are greatly appreciated!