How do I run NUnit in debug mode from Visual Studio?

后端 未结 19 1372
闹比i
闹比i 2020-11-30 17:59

I\'ve recently been building a test framework for a bit of C# I\'ve been working on. I have NUnit set up and a new project within my workspace to test the component. All wor

19条回答
  •  甜味超标
    2020-11-30 18:14

    I use the same technique as you are trying Jon, without the /assembly flag, i.e.

    Start External Program: C:\Program Files\NUnit 2.4.8\bin\nunit.exe
    
    Command line arguments: "\bin\Debug\Quotes.Domain.Tests.dll"
    

    Does TestDSP.dll contain all your TestFixtures?

    As my test project is not the startup project in the solution, I run my tests by right-clicking on the test project and choosing Debug --> Start New Instance

提交回复
热议问题