Skip to content

UITestMethod broken #7744

@LucaCris

Description

@LucaCris

Net 10, TestAdapter 4.2.1 (and all other ones updated)
Visual Studio 18.5.0

Any UITestMethod fails, even if they are really executed OK (I can see how is correctly displayed)

Image

All standard tests are OK.

Error log (always the same):

1. Render on Viewer [UI]
  Source: UnitTests.cs line 28
  Duration: < 1 ms

 Message: 
   This program location is thought to be unreachable. File='/_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs' Line=56

 Stack Trace: 
   TestMethodInfo.get_TestContext()
   TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource)
   TestMethodInfo.InvokeAsync(Object[] arguments)
   <<ExecuteAsync>b__0>d.MoveNext()

Metadata

Metadata

Labels

Area: MSTestIssues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)Area: WinUIRegression

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions