Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vs
.vscode
CodeCoverageDemo.MSTest.Tests
CodeCoverageDemo.Web
.gitignore
CodeCoverageDemo.sln
README.md
azure-pipelines.yml

README.md

Code Coverage Demo

This repo holds the code sample for my blog post where I demonstrate how to collect code coverage info for a .net core app in Azure Pipelines.

Included are

  • asp.net core web app - CodeCoverageDemo.Web
  • ms test project - CodeCoverageDemo.MSTest.Tests
  • yml build file - azure-pipelines.yml

The azure-pipelines.yml defines a build definition for Azure Pipelines that does the following

  • restores projects
  • builds projects
  • runs unit tests and calculates code coverage
  • Generate code coverage reports
  • publish thest results and coverage info
  • bundle everything needed as a build artifact, ready for a release pileine
  • publish build artifacts back to Azure Pipelines
You can’t perform that action at this time.