Duplicating file name while generating coverage report

Answered

Hi Team,

I am seeing multiple file name(project name) with same name while generating unit test coverage report using dotcover in .Net framework.

below are my command:

dotcover cover /TargetExecutable="C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\MSTest.exe" /TargetArguments="/testcontainer:..\OES_AF\OESComponents\IDGenerationBuildTests\bin\Debug\IDGenerationBuildTests.dll /testcontainer:..\OES_AF\OESInfrastructure\OEServicesIBAdapterTest\bin\Debug\OEServicesIBAdapterTest.dll /testcontainer:..\OES_AF\OESComponents\BusinessServerObjectsBuildTests\bin\Debug\BusinessServerObjectsBuildTests.dll /testcontainer:..\OES_AF\OESComponents\OEServicesManualTests\bin\Debug\OEServicesTest.dll /testcontainer:..\OES_AF\OESComponents\OESInteractiveTests\bin\Debug\OESInteractiveTests.dll /testcontainer:..\OES_AF\OESComponents\BusinessObjectsBuildTests\bin\Debug\BusinessObjectsBuildTests.dll /testcontainer:..\OES_AF\OESComponents\XmlSchemaLibraryBuildTests\bin\Debug\XmlSchemaLibraryBuildTests.dll /testcontainer:..\OES_AF\OESComponents\BusinessServerObjectsManualTests\bin\Debug\BusinessServerObjectsTest.dll /testcontainer:..\OES_AF\OESInfrastructure\CommonTest\bin\Debug\CommonTest.dll /testcontainer:..\OES_AF\OESComponents\OESRetrieveStoreServiceManualTests\bin\Debug\OESRetrieveStoreServiceTest.dll /testcontainer:..\OES_AF\OESComponents\OESValidateOrderServiceManualTests\bin\Debug\OESValidateOrderServiceTest.dll /testcontainer:..\OES_AF\OESComponents\NetworkServicesBusinessObjectsBuildTests\bin\Debug\NetworkServicesBusinessObjectsBuildTests.dll /testsettings:..\OES_AF\BusinessObjects.testsettings" /Output="C:\OES Build\OESCoverageReportFinalTest.html" /ReportType="HTML"

below is creen shots for same:

 

Pls sugget how to remove duplication of project file.

Thanks in advance.

1 comment
Comment actions Permalink

Hi Ranjan,

Which versions of TeamCity and DotCover are you using? Would you be able to share a project that reproduces the behaviour?

Cheers,
Anatoly 

0

Please sign in to leave a comment.