File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 24
24
</Target >
25
25
26
26
<Target Name =" RunTests" AfterTargets =" CopyMSBuildScripts" >
27
- <Exec Command =" dotnet test " $(MSBuildThisFileDirectory)test\coverlet.core.tests\coverlet.core.tests.csproj" -c $(Configuration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Include=[coverlet.*]* -verbosity:minimal " />
27
+ <Exec Command =" dotnet test " $(MSBuildThisFileDirectory)test\coverlet.core.tests\coverlet.core.tests.csproj" -c $(Configuration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Include=[coverlet.*]*" />
28
28
</Target >
29
29
30
30
<Target Name =" CreateNuGetPackage" AfterTargets =" RunTests" Condition =" $(Configuration) == 'Release'" >
Original file line number Diff line number Diff line change @@ -209,7 +209,11 @@ private void CalculateCoverage()
209
209
{
210
210
if ( ! File . Exists ( result . HitsFilePath ) )
211
211
{
212
- _logger . LogWarning ( $ "Hits file:'{ result . HitsFilePath } ' not found for module: '{ result . Module } '") ;
212
+ // Hits file could be missed mainly for two reason
213
+ // 1) Issue during module Unload()
214
+ // 2) Instrumented module is never loaded or used so we don't have any hit to register and
215
+ // module tracker is never used
216
+ _logger . LogVerbose ( $ "Hits file:'{ result . HitsFilePath } ' not found for module: '{ result . Module } '") ;
213
217
continue ;
214
218
}
215
219
You can’t perform that action at this time.
0 commit comments