Forum Discussion
Yusufm87
Contributor
Hi lydincamilleri,
Could you please post your solution on how you were able to enable re-run of failed test cases.
I am using Azure DevOps to run the tests but the failed test do not rerun at all.
Thanks,
Yusuf
lydincamilleri
2 years agoOccasional Contributor
- task: VSTest@2
inputs:
testSelector: 'testAssemblies'
testAssemblyVer2: '**\*.pjs'
searchFolder: '$(System.DefaultWorkingDirectory)'
distributionBatchType: 'basedOnExecutionTime'
uiTests: true
vsTestVersion: toolsInstaller
diagnosticsEnabled: true
collectDumpOn: 'always'
rerunFailedTests: true
rerunMaxAttempts: '2'
testFiltercriteria: '@test=true'
testRunTitle: TEST'
displayName: 'TEST'
inputs:
testSelector: 'testAssemblies'
testAssemblyVer2: '**\*.pjs'
searchFolder: '$(System.DefaultWorkingDirectory)'
distributionBatchType: 'basedOnExecutionTime'
uiTests: true
vsTestVersion: toolsInstaller
diagnosticsEnabled: true
collectDumpOn: 'always'
rerunFailedTests: true
rerunMaxAttempts: '2'
testFiltercriteria: '@test=true'
testRunTitle: TEST'
displayName: 'TEST'
- Yusufm872 years agoContributor
Thank you Lydin!
Related Content
- 3 years ago
- 4 years ago
- 6 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 7 days ago