Skip to content

Commit

Permalink
enable test diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Svensson committed Dec 12, 2023
1 parent 9c095ba commit 270d5c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 3 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ steps:
runOnlyImpactedTests: false
runInParallel: true
# runSettingsFile: 'src\test.runsettings'
runSettingsFile: 'src\test.runsettings'
codeCoverageEnabled: true
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
Expand All @@ -110,14 +110,12 @@ steps:
!**\obj\**
runOnlyImpactedTests: false
# Needed to hardcode path to test adapters for NET48 tests
# pathtoCustomTestAdapters: '$(Build.SourcesDirectory)\src\OpenRiaServices.Server.UnitTesting\Test\bin\$(BuildConfiguration)\net6.0\'
runInParallel: true
# runSettingsFile: 'src\test.runsettings'
runSettingsFile: 'src\test.runsettings'
codeCoverageEnabled: true
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
diagnosticsEnabled: false
diagnosticsEnabled: true
timeoutInMinutes: 15

- task: SonarCloudAnalyze@1
Expand Down
6 changes: 2 additions & 4 deletions src/test.runsettings
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,12 @@

<!-- Parameters used by tests at run time -->
<TestRunParameters>
<Parameter name="webAppUrl" value="http://localhost" />
<Parameter name="webAppUserName" value="Admin" />
<Parameter name="webAppPassword" value="Password" />
<!--<Parameter name="webAppUserName" value="Admin" />-->
</TestRunParameters>

<!-- Adapter Specific sections -->

<!-- MSTest adapter -->
<!-- MSTest adapter : https://learn.microsoft.com/sv-se/visualstudio/test/configure-unit-tests-by-using-a-dot-runsettings-file?view=vs-2022#mstest-element -->
<MSTest>
<!--
<MapInconclusiveToFailed>True</MapInconclusiveToFailed>
Expand Down

0 comments on commit 270d5c4

Please sign in to comment.