Default .NET Template UITest Fails to Run Test #640
Labels
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification.
Current behavior
When creating a new project using the .NET CLI
dotnet new unoapp-extensions
the UI Tests will not work out of the box. This is because theNUnit3TestAdapter
has a known issue in4.2.1
where it will always have an exception when running the testsThis issue is fully documented with a workaround nunit/nunit3-vs-adapter#987
Expected behavior
When right-click on the UITest project it should run the tests correctly
How to reproduce it (as minimally and precisely as possible)
ReproductionProject.zip
dotnet new unoapp-extensions
using version2.1.1
ctrl
+F5
Environment
Nuget Package: Uno.Extensions.Templates
Package Version(s): 2.1.1
Affected platform(s):
Visual Studio:
Relevant plugins:
Anything else we need to know?
I was able to follow the NUnit VS Adapter discussion in nunit/nunit3-vs-adapter#987 and update the test adapter to a preview build. Looks like it is the recommended approach as .NET 7 gets closer to GA. See exact comment nunit/nunit3-vs-adapter#987 (comment)
PR is incoming
The text was updated successfully, but these errors were encountered: