Thank you for reply, it is really root of the problem.<div>I forgot mention about library meck which loads module and redefines some of its functions. When I remove meck, coverage works as expected. I should think how to replace meck.<br>

This is not related to the name of the SUITEs. What happens is that the modules (my_module1 and my_module2 - and possible other modules as derived from your cover spec file) are cover compiled and loaded by common_test before the test starts. The result of the cover compilation exists only in memory so if the test code explicitly loads these modules again the original beam files will be used and the cover compiled version disappears. The only way to overcome this is to avoid loading of code in your tests.<div>

WARNING: Analysis failed for my_module2. Reason: {error,{not_cover_compiled,my_module2}}<br>```<br><br>Why I see no any error before at cover compilation step?<br><br>Moreover, if I just replace my_module1_SUITE:all/0 to return just empty list [], warning "Analysis failed for my_module1" disappears, and cover for this file appears in cover.html log.<br>

<br>Can you explain me this strange issues? Is this any bug or expected behaviour?<br><br>Thank you.<span><font color="#888888"><br><br>-- <br>Maxim Treskin<br><a href="http://metachord.com" target="_blank">http://metachord.com</a><br>