How to unit test a Windows 10 app in Visual Studio?

前端 未结 3 836
迷失自我
迷失自我 2020-12-15 06:04

How can I unit test a Windows 10 app in Visual Studio 2015?

I created a Blank App Universal Windows project and added a new Unit Test Project to the solution, but wh

3条回答
  •  独厮守ぢ
    2020-12-15 06:45

    Try RT-Clicking on a function name & see if there is a "Create Unit Tests" option on the context menu. For some reason adding a new unit test project is buggy, but the context menu worked for me.

提交回复
热议问题