[erlang-questions] is it possible to make rebar generate cover analysis both for eunit and ct tests?
Magnus Klaar
magnus.klaar@REDACTED
Fri Dec 16 19:33:55 CET 2011
Hi!
In order to enable the coverage log for the rebar ct command you must add
the following config file the root of your application directory. Replace
cowboy with the application(s) you want to generate coverage logs for.
https://github.com/extend/cowboy/blob/master/cover.spec
MVH Magnus
On Fri, Dec 16, 2011 at 7:29 PM, Roman Shestakov <romanshestakov@REDACTED
> wrote:
> hello,
>
> for one of my projects I use both eunit and ct tests. But looks like
> option{cover_enabled, true} in rebar.config works only for eunit tests. Is
> this expected?
>
> I run my tests with makefile with these two commands.
>
> $(REBAR) skip_deps=true eunit
> $(REBAR) ct
>
> Ideally I would like to see cover analysis for both ct and eunit tests
> on the same report, is this possible?
>
> Regards, Roman
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111216/bcb7a083/attachment.htm>
More information about the erlang-questions
mailing list