How can I run NUnit tests in Visual Studio 2017?

前端 未结 9 659
后悔当初
后悔当初 2020-11-29 21:15

I\'ve just installed Visual Studio 2017. I have a project using NUnit for the test cases. Ctrl + R - T no longer runs the tests, and the Tes

9条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-29 21:48

    • You have to choose the processor architecture of unit tests in Visual Studio: menu TestTest SettingsDefault processor architecture

    • Test Adapter has to be open to see the tests: (Visual Studio e.g.: menu TestWindowsTest Explorer


    Additional information what's going on, you can consider at the Visual Studio 'Output-Window' and choose the dropdown 'Show output from' and set 'Tests'.

提交回复
热议问题