Is there a way to do a UI Unit test in a Windows 10 (UWP) project?

Universal applications for the Windows platform have a Unit test project, but it runs tests more slowly. I think this is because of the Xaml UI tests. Does anyone know how to disable user interface testing in unit tests?

+4
source share
2 answers

I look the same. I also did not find a way, but in the xaml.cs file you can see Microsoft.VisualStudio.TestPlatform.TestExecutor.UnitTestClient.Run(e.Arguments);. Perhaps there is a way to convert a project into a non-user interface project and call it from main()or so ...

0
source

Unfortunately no...

, . , , , simple Unit Test!

, Visual Studio.

0

Source: https://habr.com/ru/post/1619575/


All Articles