Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I want to know Good Point and Bad Points of NUnit.

http://www.nunit.org/index.php?p=quickStart&r=2.4[^]

this link is for Quick start but i am not getting any good point and bad point

Please tell me know if you anyone of them have the idea of NUnit


Thanks in advance:thumbsup::thumbsup:
Posted
Updated 23-Oct-10 3:14am
v2

While NUnit is an excellent framework, one of the main drawbacks for me is that it doesn't have a native mock objects support built in - you have to use a separate framework if you want mocking support.

Support for testing threaded applications could be easier to implement as well - if you're testing an asynchronous method, it becomes quite cumbersome to have to write the result handler in what's effectively a separate method (although you can use delegates to get around this particular problem).

Possibly it's its biggest plus point is that it's extremely easy to get started developing tests in. That has to be a good thing.
 
Share this answer
 
v2
NUnit is excellent, especially in conjunction with Rhino Mocks. It's main drawback is that Microsoft has released its own testing framework, which is far better integrated with Visual Studio and especially Visual Studio Team System.

I've worked with both frameworks and found NUnit to be clearer to work with, but I use Microsoft's in preference because the integration aspects outweigh this as a factor IMO.
 
Share this answer
 
Comments
Pete O'Hanlon 23-Oct-10 10:49am    
I voted 5 to counter an unfair 3 vote.
NUnit is a very good framework to use.
Boasting about 80 to 90% test coverage can actually help win a client.

You would need something like Rhino mock with NUnit, however, to run your tests. Or else, you could build your own mock objects.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900