Use VSTest runner for tests
This commit is contained in:
parent
338728fa98
commit
ec45808e44
3 changed files with 6 additions and 4 deletions
|
@ -31,6 +31,8 @@
|
|||
This is a prevalent problem in building the precomputed assembly reference cache. Limiting the assemblies resolved
|
||||
to those outside the culture folders would work, but that is a nontrivial problem. -->
|
||||
<NoWarn>NU5125;NU5105;NU1701;MSB3243;MSB3247</NoWarn>
|
||||
|
||||
<UseVSTestRunner>true</UseVSTestRunner>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DisableSourceLink)' == 'true'">
|
||||
|
|
|
@ -233,8 +233,8 @@ jobs:
|
|||
- task: PublishTestResults@2
|
||||
displayName: Publish Test Results
|
||||
inputs:
|
||||
testRunner: XUnit
|
||||
testResultsFiles: 'artifacts/TestResults/${{ parameters.buildConfiguration }}/*.xml'
|
||||
testRunner: VSTest
|
||||
testResultsFiles: 'artifacts/TestResults/${{ parameters.buildConfiguration }}/*.trx'
|
||||
testRunTitle: '$(_AgentOSName)_$(Agent.JobName)'
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '${{ parameters.buildConfiguration }}'
|
||||
|
|
|
@ -239,8 +239,8 @@ jobs:
|
|||
- task: PublishTestResults@2
|
||||
displayName: Publish Test Results
|
||||
inputs:
|
||||
testRunner: XUnit
|
||||
testResultsFiles: 'artifacts/TestResults/${{ parameters.buildConfiguration }}/*.xml'
|
||||
testRunner: VSTest
|
||||
testResultsFiles: 'artifacts/TestResults/${{ parameters.buildConfiguration }}/*.trx'
|
||||
testRunTitle: '$(_AgentOSName)_$(Agent.JobName)'
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '${{ parameters.buildConfiguration }}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue