Skip to content

Instantly share code, notes, and snippets.

@stepbester
Created August 23, 2022 12:17
Show Gist options
  • Save stepbester/03c8ed7d386cc0323d8525ba6417de89 to your computer and use it in GitHub Desktop.
Save stepbester/03c8ed7d386cc0323d8525ba6417de89 to your computer and use it in GitHub Desktop.
An example step in Azure Pipelines that passes multiple a test run parameters to the .NET CLI
steps:
- task: DotNetCoreCLI@2
displayName: 'Run warp core tests'
inputs:
command: 'test'
projects: 'Starfleet.WarpCore.Test.csproj'
arguments: '-- TestRunParameters.Parameter(name="\""shipName"\"", value="\""Enterprise"\"") TestRunParameters.Parameter(name="\""shipDesignation"\"", value="\""NCC-1701"\"")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment