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

后端 未结 19 1366
闹比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:10

    See if this helps.. How to add NUnit in Visual Studio

    (RighteousRant)Although personally I don't like this approach.. If you need a debugger while you are test-driving your code, it's a "smell" in that you do not have enough confidence/know how your code works & need the debugger to tell you that. TDD should free you from needing a debugger if done right. Use 'Attach debugger to NUNit' only for rare cases or when you are wading in someone else's code.

提交回复
热议问题