proper
proper copied to clipboard
Integrate with code coverage?
Is there any documentation of showing that the results are integrated with code coverage? For example, would like to see that the tests will add to coder coverage with unit and common tests.
Here's shown how to integrate proper with eunit http://proper.softlab.ntua.gr/User_Guide.html. Code coverage should be updated automatically.
If you are using rebar3 with a dependency on the rebar3_proper plugin in your test profile, here is what you can do to get coverage information:
$ echo '{cover_enabled, true}' >>rebar.config
$ rebar3 cover --reset
$ rebar3 as test proper
$ rebar3 cover --verbose
This should probably go into the user guide page @ten0s linked. In the README too I guess.