UWP xUnit真的在挑战我 从命令行运行

UWP xUnit真的在挑战我 从命令行运行,uwp,xunit,Uwp,Xunit,我正在运行最新的everything VS2019,Windows 10 v10.0.18363 我当然不能让测试资源管理器工作,所以我想试试命令行 vstest.console.exe c:\temp\WordToMarkdownUnitTests\bin\x64\Debug\UnitTestProject.build.appxrecipe /platform:x64 以下是错误: DEP7100: Failed to activate app '4979c77f-dafb-41b1-9b6

我正在运行最新的everything VS2019,Windows 10 v10.0.18363

我当然不能让测试资源管理器工作,所以我想试试命令行

vstest.console.exe c:\temp\WordToMarkdownUnitTests\bin\x64\Debug\UnitTestProject.build.appxrecipe /platform:x64
以下是错误:

DEP7100: Failed to activate app '4979c77f-dafb-41b1-9b6b-c55405d624ad_d9fbpvqm16pa0!vstest.executionengine.universal.App' with parameters '--port 59383 --endpoint 127.0.0.1:059383 --role client --parentprocessid 25268 --telemetryoptedin false'. The text associated with this error code could not be found.

The text associated with this error code could not be found.

App activation failed.
Failed to initialize client proxy: could not connect to test process.
Closing app with package full name '4979c77f-dafb-41b1-9b6b-c55405d624ad_1.0.0.0_x64__d9fbpvqm16pa0'.

Test Run Aborted.
这件事我已经追根究底好一阵子了。有什么线索吗

我终于在我的应用程序中编写了自己的测试工具。工作得很好,我的测试总是被发现,因为它们被编译到我的可执行文件中


我构建自己的测试装备/跑步者的解决方案可以为我节省大量时间。它工作良好,100%可靠。另外,它使我能够完全控制如何执行测试,而无需另一个VisualStudio项目的开销