Skip to content

knutin/unite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unite

Pretty EUnit test formatters

Example Output

Installation & Usage

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

{deps, [
    {unite, "", {git, "git://github.com/eproxus/unite.git"}}
]}.

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

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

Then just run Rebar as usual: rebar eunit.

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).

About

Pretty EUnit test formatters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 100.0%