Skip to content

Instantly share code, notes, and snippets.

@jamesmcroft
Created September 9, 2020 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesmcroft/5958ba81101c2b81d37f0d7585f79db7 to your computer and use it in GitHub Desktop.
Save jamesmcroft/5958ba81101c2b81d37f0d7585f79db7 to your computer and use it in GitHub Desktop.
A snippet of a pipeline example for running tests and generating cobertura reports
- task: DotNetCoreCLI@2
displayName: 'Run tests'
inputs:
command: 'test'
arguments: '/p:CollectCoverage=true /p:CoverletOutputFormat=cobertura'
projects: '**/*[Tt]ests*.csproj'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment