<div dir="ltr">I'm trying to get code coverage working for my ct test run. However, when I run "rebar ct -vvv skip_deps=true", I get the following in the output:<div><br></div><div>WARNING: No modules to cover compile!</div>
<div><br></div><div>My project is organised something like the following:</div><div><br></div><div>./rebar.config -- sub_dirs and lib_dirs</div><div>./deps</div><div>./apps/foo</div><div>./apps/foo/rebar.config -- deps, ct_dir, cover_enabled...</div>
<div>./apps/foo/cover.spec</div><div>./apps/foo/test -- eunit tests (for which coverage is working when run with rebar eunit)</div><div>./apps/foo/suites -- ct tests</div><div><br></div><div>I've got a cover.spec file that looks like this:</div>
<div><br></div><div><div>{incl_app, foo, details}.</div><div>{incl_dirs_r, ["src", "suites"]}.</div><div>{src_dirs, foo, ["src", "suites"]}.</div><div>{export, "foo.coverdata"}.</div>
</div><div><br></div><div>What am I doing wrong?</div><div><br></div><div>Thanks.</div><div><br></div></div>