How can I run NUnit tests in Visual Studio 2017?

前端 未结 9 662
后悔当初
后悔当初 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:49

    Using the CLI, to create a functioning NUnit project is really easy. The template does everything for you.

    dotnet new -i NUnit3.DotNetNew.Template
    dotnet new nunit
    

    On .NET Core, this is definitely my preferred way to go.

提交回复
热议问题