Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't debug NUnit tests with Visual Studio

Trying to debug an NUnit test in VS2010 and is not stopping on the breakpoint. It was working the last time I tried need to debug the test (maybe 1 yr ago) but now it doesn't work.

I've tried the following:

  • How to debug with vs.net 2008 and nunit?

  • http://erraticdev.blogspot.com/2012/01/running-or-debugging-nunit-tests-from.html

I've tried attaching, rechecking my installation, updated the config file so it's using the 4.0 runtime, still doesn't hit the breakpoint.

What am I missing?

like image 460
Bill Martin Avatar asked Jul 14 '26 15:07

Bill Martin


1 Answers

You can debug nunit tests in VS studio community version only. For this you need to install Nunit3testAdpter. You can add this in Tools -> Extension and updates. or from Nuget packages.

like image 126
Parmeshwar Karale Avatar answered Jul 17 '26 15:07

Parmeshwar Karale



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!