Running Universal Windows unit tests from the command line

前端 未结 4 2218
北恋
北恋 2020-12-02 21:37

How do you run Universal Windows (UWP) unit test projects from the command line?

I am using the MSTestFramework.

4条回答
  •  时光说笑
    2020-12-02 22:12

    Followed by @Marinov, UWP does not support to test the App currently. Only Library can be testable.

    • remarks: https://github.com/PrismLibrary/Prism/issues/140#issuecomment-165572951

    So, if you want to do unit test in UWP, you have to pull your logic codes out from App project and pour them into newly created library project. Test project and original app project could be referenced afterwards.

提交回复
热议问题