[erlang-questions] coverage tests
Wed Mar 28 13:47:18 CEST 2018
Yes, it is possible.
You can specify in cover.spec a list of projects for coverage analysis
Basically, use your test app to orchestrate testing of your main application.
> On 28 Mar 2018, at 14.42, Caragea Silviu <silviu.cpp@REDACTED> wrote:
> I have an app that's using a HTTP interface in order to expose the functionality.
> Also I have another project which implements functionality tests for the first app by running all kind of HTTP requests and compare the results with the expected one.
> My question is: there is any way to generate also a coverage test report for the app that's exposing the HTTP server ? to see how much of the code my tests is touching ?
> I looked over ct_run but most examples and user cases doesn't involve two different apps.
> erlang-questions mailing list
More information about the erlang-questions