mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 11:17:53 +01:00
[Settings] Unit Tests Migration Feature Branch Merge (#5754)
* added MSTest project * enabled settings tests run in the build pipeline * re-added settings test project * re-added test project and sample test * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * updated settings test output path * updated output path for release config * added xunit test project * removed xunit test project * fix build * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-ci.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-ci.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml * Update build-powertoys-steps.yml
This commit is contained in:
@@ -73,29 +73,34 @@ steps:
|
||||
maximumCpuCount: true
|
||||
|
||||
|
||||
# directly not doing WinAppDriver testing
|
||||
# Running VSTest@2 step seperatly for .netframework and .netcore.
|
||||
# .NetCore assemblies
|
||||
- task: VSTest@2
|
||||
displayName: 'Run .Net Core Tests'
|
||||
inputs:
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
testSelector: 'testAssemblies'
|
||||
testAssemblyVer2: |
|
||||
!**\*PowerToysTests.dll
|
||||
!**\*TestAdapter.dll
|
||||
#**\Microsoft.Plugin.Program.UnitTests.dll
|
||||
#**\Microsoft.Plugin.Uri.UnitTests.dll
|
||||
#**\Wox.Test.dll
|
||||
**\*Microsoft.PowerToys.Settings.UI.UnitTests.dll
|
||||
!**\obj\**
|
||||
# .NetFramework assemblies
|
||||
- task: VSTest@2
|
||||
displayName: 'Run .Net Framework Tests'
|
||||
inputs:
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
testSelector: 'testAssemblies'
|
||||
testAssemblyVer2: |
|
||||
**\ImageResizer.Test.dll
|
||||
**\KeyboardManagerTest.dll
|
||||
**\Microsoft.Plugin.Program.UnitTests.dll
|
||||
**\Microsoft.Plugin.Uri.UnitTests.dll
|
||||
**\PowerRenameUnitTests.dll
|
||||
**\UnitTests-CommonLib.dll
|
||||
**\PreviewPaneUnitTests.dll #this is the markdown tests
|
||||
**\UnitTests-PreviewHandlerCommon.dll
|
||||
**\UnitTests-SvgPreviewHandler.dll
|
||||
**\Wox.Test.dll
|
||||
**\powerpreviewTest.dll
|
||||
# Can't get working, says no tests
|
||||
# #**\Microsoft.PowerToys.Settings.UnitTest.exe
|
||||
# crashes CI
|
||||
#**\interop-tests.dll
|
||||
#**\UnitTests-FancyZones.dll
|
||||
!**\obj\**
|
||||
|
||||
Reference in New Issue
Block a user