Arunachalam
Arunachalam

Reputation: 6057

Nunit integration in a window application in VS2005 using C#

I'm developing a window application in VS2005 using C#. I need to integrate NUnit into my project. Mainly i need to implement the 'Execute' option available in NUint. How can i do this.?

Upvotes: 0

Views: 157

Answers (2)

Marc Gravell
Marc Gravell

Reputation: 1063519

It sounds like you want to run NUnit from your exe?

Unless you go to a lot of trouble, it sounds to me like the best option would be to include the NUnit console exe (and dlls) in your package, and execute via Process.Start, capturing stdout (or writing to a file, which may be simpler). Then parse the output file.

It might not be as pretty as the GUI version, but it will probably be easier to deploy.

Upvotes: 0

NileshChauhan
NileshChauhan

Reputation: 5569

TestDriven.Net is a .Net Plugin in Vs2005 which will help you achieve it.

Upvotes: 1

Related Questions