Tests from sample project do not run in VS2022 (17.7.3)
Opened this issue · 0 comments
Irame commented
The tests from the sample project do not run.
When I try to run the tests, Visual Studio briefly opens and afterwards I have this log output:
Building Test Projects
Executing all tests in project: VsixTests
========== Starting test run ==========
Failed to load extensions from file 'C:\Users\<redacted>\.nuget\packages\xunit.runner.visualstudio\2.4.3\build\netcoreapp2.1\xunit.runner.visualstudio.dotnetcore.testadapter.dll'. Please use /diag for more information.
Failed to load extensions from file 'C:\Users\<redacted>\.nuget\packages\xunit.runner.visualstudio\2.4.3\build\uap10.0.16299\xunit.runner.visualstudio.uwp.testadapter.dll'. Please use /diag for more information.
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.3+1b45f5407b (64-bit Desktop .NET 4.0.30319.42000)
[xUnit.net 00:00:00.05] VsixTests: Deserializing 2 test case(s):
Xunit.VsixTestCase, xunit.vsix:VGVzdE1ldGhvZDpYdW5pdC5TZGsuVGVzdE1ldGhvZCwgeHVuaXQuZXhlY3V0aW9uLntQbGF0Zm9ybX06VFdWMGFHOWtUbUZ0WlRwVGVYTjBaVzB1VTNSeWFXNW5PbEl5VmpCU1dHaDNZak5LTUZKdVNuWmlWbHA2WVZoblBRcFVaWE4wUTJ4aGMzTTZXSFZ1YVhRdVUyUnJMbFJsYzNSRGJHRnpjeXdnZUhWdWFYUXVaWGhsWTNWMGFXOXVMbnRRYkdGMFptOXliWDA2VmtkV2VtUkZUblppUjNoc1dUTlNjR0l5TkRaWFNGWjFZVmhSZFZVeVVuSk1iRkpzWXpOU1JHSXllSE5hVjA0d1lWYzVkVXhEUWpSa1Z6VndaRU0xYkdWSFZtcGtXRkp3WWpJMGRXVXhRbk5aV0ZKdFlqTktkR1pVY0ZOU01uZzJXVEJrTkdGSFZsWk9WMmhwVmpGVk1sWlVUbk5sYlZKSVZtNVNUV0pGTkhkWk1qRnpaRlp3Tm1OR1pGTk5WbTh5VjJ0V1QxRXlSblJUV0d4c1UwVTFhRlpxUVRCa01XeFhXWHBXYTFa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pUaW1lb3V0U2Vjb25kczpTeXN0ZW0uSW50MzI6NjAKUmVjeWNsZU9uRmFpbHVyZTpTeXN0ZW0uQm9vbGVhbjpGYWxzZQpSdW5PblVJVGhyZWFkOlN5c3RlbS5Cb29sZWFuOkZhbHNlClNraXBSZWFzb246U3lzdGVtLlN0cmluZw==
[xUnit.net 00:00:00.27] Starting: VsixTests (parallel test collections = on, max threads = 16)
[xUnit.net 00:00:03.18] Finished: VsixTests
========== Test run finished: 0 Tests (0 Passed, 0 Failed, 0 Skipped) run in 3,3 sec ==========
It seems like the tests are discovered correctly but not run.
The two extension that fail to load are at the specified locations.
The Test Explorer looks like this:
I am using Visual Studio Community Version 17.7.3