Howto display visual studio code coverage
Hi,
I have a VisualStudio-CodedUi-project which gives me code coverage via the runsettings file.
How do I import the results in TeamCity? https://confluence.jetbrains.com/display/TCD10/Code+Quality+Tools#CodeQualityTools-IntegrationwithExternalTools is not really helpful. And I resigned finding the longterm-issue https://youtrack.jetbrains.com/issue/TW-7347
DotCover only returns the coverage of my CodedUi-project, which is not what I want. Setting the path to the additional PDB files does not help (symbolpath).
Regards,
Christian
Please sign in to leave a comment.
Hi Christian,
I'm afraid I'm not too familiar with CodedUi so I'm not exactly sure how it works. Information on how to provide reports is available here: https://confluence.jetbrains.com/pages/viewpage.action?pageId=113084582#HowTo...-ImportcoverageresultsinTeamCity. They will be usually displayed as a separate html report assuming that your tool generates such a report. If they are generated in a format compatible with TeamCity, they can usually be imported via a service message: https://confluence.jetbrains.com/display/TCD18/Manually+Configuring+Reporting+Coverage
Hi Denis,
CodedUi just runs on MSTest/VSTest. But each test case runs against the application under test. For the coverage report I want to know, which lines of the application under test where used - Not which lines of the test where used (which is what DotCover tells me).
Is there an existing way to import the .coverage-files (VSTest.exe) or tell DotCover to cover the "right" thing.
Regards,
Christian