Skip to content

Instantly share code, notes, and snippets.

@safebear
Created March 14, 2019 10:54
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 safebear/f3d46138b4d81121c528628c274a1725 to your computer and use it in GitHub Desktop.
Save safebear/f3d46138b4d81121c528628c274a1725 to your computer and use it in GitHub Desktop.
Filtering on Tests and Changing URL
# filtering on 'highPriority' but ignoring any test tagged as 'Ignore'
- task: VSTest@2
inputs:
testFiltercriteria: (TestCategory=highPriority&TestCategory!=Ignore)
# I.E. we add the 'testFiltercriteria' line to the 'inputs:' section of the Acceptance Tests
- task: VSBuild@1
inputs:
solution: '**\*.sln'
msbuildArgs: /p:url=“https://etc”
# Add the 'msbuildArgs' line to the 'inputs;' section of the build task.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment