Creating code coverage reports in Azure DevOps yam...
# help-with-other
d
I've been using DevOps yaml pipelines for building applications, but since recently my (arguably hacky) solution for producing code coverage reports from automated tests has stopped working. I found online that there is a new version of the
PublishCodeCoverageResults
, which can publish code coverage reports in DevOps, but this tool takes almost 20 minutes to complete and that's unacceptable to me. Additionally, it includes code coverage results from my manual test website with contents from a starterpack and I have no way to filter this out. My hacky solution used to be able to do this in 5 minutes or less. Also, my project has about 6 unit test projects and according to the logs, 10 code coverage files are created and 267 reports are created in total. Am I doing this right at all? How do you all create and publish code coverage reports for dotnet 6 / 8? My code in question is the URL Tracker, in case you want to see more details about my setup: https://github.com/Infocaster/UrlTracker/blob/v13/feature/redesign/azure-pipelines.yml
5 Views