المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : NUnit test framework



C# Programming
04-04-2013, 09:24 AM
I've inherited a project that includes unit tests written in this framework. I know little about c# and nothing about nunit. I'm told that I can't just run the test project (as it builds to an assembly, not an exe) but need to use a third party tool to run the tests. I tried resharper but uninstalled it as it changed my VS 2012 shortcuts without asking me. Then I tried NUnit itself but for some reason unknown to anyone here it is not possible to debug the tests using NUnit.

I'm just stunned at how bad this appears. Surely tests lose most of their value when they are hard to execute?

Is it possible to add a Main() to my test project and just run the tests?