views:

221

answers:

3

I'm starting to write an add-in for Visual Studio 2005 that would integrate NUnit with the IDE. Any ideas on how and where I should start? I have a basic idea on how add-ins work.

I believe I would need to know the NUnit API for this type of integration. Where can I find enough resources to achieve this?

+2  A: 

Some resources you might try:

  1. Monodevelop has NUnit addin. You can read a lot about how to communicate with NUnit API by reading the source, especially if it is more for learning purposes.

  2. The NUnit GUI is open source, so you can see how it interacts with the NUnit runner, etc. It's just a wrapper, and should contain all the functionality you will need.

  3. The guys at NUnit are very responsive, and if you subscribe to their mailing list they'll help you a lot about finding the appropriate APIs.

  4. There are a lot of articles about how to create addins for VS, here is one (you can find more with google).

Sunny
A: 

I want to add a plug for MBUnit which I think is pretty much a superset of nUnit features. The api doc looks good.

Andrew Cowenhoven
+1  A: 

You can look at the Visual nUnit for VS 2008 project - its open source and integrates well with VS 2008- http://www.bubblecloud.org/visualnunit