-
Notifications
You must be signed in to change notification settings - Fork 803
Closed
Labels
bugSomething isn't workingSomething isn't workingneeds-triageIssue needs to be triaged by the area ownersIssue needs to be triaged by the area ownerstest issueIssue with test codeIssue with test code
Description
Describe the bug
I was able to execute unit tests using MSTest.
After updating MSTest.TestAdapter and MSTest.TestFramework from 3.6.4 to 3.7.0, test cannot be executed anymore.
Test output:
Building Test Projects
Could not determine target device configuration. Exception: System.Runtime.InteropServices.COMException (0x80020009): The method or operation is not implemented.
at EnvDTE.Property.get_Value()
at Microsoft.VisualStudio.TestWindow.ShellServices.ProjectDataImpl.<GetRemoteMachineAddressAsync>d__36.MoveNext()
Executing all tests in project: AutoStartConfirmTests
========== Starting test run ==========
========== Test run aborted: 0 Tests (0 Passed, 0 Failed, 0 Skipped) run in < 1 ms ==========
This looks like a regression of 2.2.9: #6258 (comment)
Steps to reproduce the bug
- Checkout my branch https://github.com/ChristianGalla/AutoStartConfirm/tree/mstest-3.7.0
- Execute the test project
As an alternative the same issue should occur on other test projects that have MSTest.TestAdapter and MSTest.TestFramework installed in version 3.7.0.
Expected behavior
Tests can be discovered and executed.
Screenshots
No response
NuGet package version
None
Windows version
No response
Additional context
Language: C#
OS: Windows 10 22H2
Framework: .NET 9
Packaging: unpackaged
Windows App SDK version: 1.6.241114003
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds-triageIssue needs to be triaged by the area ownersIssue needs to be triaged by the area ownerstest issueIssue with test codeIssue with test code