Maarten Merken
1 min readSep 24, 2018

--

Hi,

In this case, I’d let all the test projects have their output set to the same directory via coverlet.

To specify a directory where all results will be written to (especially if using multiple formats), end the value with a /.

dotnet test /p:CollectCoverage=true /p:CoverletOutput='./results/'

And set the /d:sonar.cs.opencover.reportsPaths to point to that directory.

Cheers,

Maarten

--

--

Maarten Merken
Maarten Merken

No responses yet