mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 19:27:56 +01:00
attempting to run CI unittests for .netcore and .netframework projects (#5886)
* attempting to run CI unittests as seperate passes for .netframework and .netcore, based on assemblies.
* Mocking CSearchManager to avoid the following exception running in CI.
Retrieving the COM class factory for component with CLSID {7D096C5F-AC08-4F1F-BEB7-5C22C517CE39} failed due to the following error: 80070422 The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (0x80070422).
* Setting proper connection string for unit test.
* Mocking sqlQuery with FilePath vs m*
* Temporarily Ignoring test that is throwing exception in CI.
This commit is contained in:
committed by
GitHub
parent
cedc4f710e
commit
8c98c7df29
@@ -73,8 +73,7 @@ steps:
|
||||
maximumCpuCount: true
|
||||
|
||||
|
||||
# Running VSTest@2 step seperatly for .netframework and .netcore.
|
||||
# .NetCore assemblies
|
||||
# directly not doing WinAppDriver testing
|
||||
- task: VSTest@2
|
||||
displayName: 'Run .Net Core Tests'
|
||||
inputs:
|
||||
@@ -82,9 +81,9 @@ steps:
|
||||
configuration: '$(BuildConfiguration)'
|
||||
testSelector: 'testAssemblies'
|
||||
testAssemblyVer2: |
|
||||
#**\Microsoft.Plugin.Program.UnitTests.dll
|
||||
#**\Microsoft.Plugin.Uri.UnitTests.dll
|
||||
#**\Wox.Test.dll
|
||||
**\Microsoft.Plugin.Program.UnitTests.dll
|
||||
**\Microsoft.Plugin.Uri.UnitTests.dll
|
||||
**\Wox.Test.dll
|
||||
**\*Microsoft.PowerToys.Settings.UI.UnitTests.dll
|
||||
!**\obj\**
|
||||
# .NetFramework assemblies
|
||||
|
||||
Reference in New Issue
Block a user