[erlang-questions] rebar3 ct doesn't generate coverage data

Attila Rajmund Nohl attila.r.nohl@REDACTED
Tue Dec 12 17:25:53 CET 2017


I'm running common_test from rebar3 and try to generate coverage data,
but the generated cover.html only contains "Cover tool is not used".
There's a ct.coverdata file generated in _build/test/cover/ directory,
but no human-readable result. I execute

rebar3 ct --cover --verbose

and I also have

{cover_enabled, true}.
{cover_print_enabled, true}.
{cover_export_enabled, true}.

in the rebar.config file. Do I miss some other setting?

More information about the erlang-questions mailing list