Ty's Weblog

Things about my life.

Using nUnit with C# Express

by @ 11:46 am on April 3, 2007. Filed under Internet/Tech, Programming

So I’m doing a lot of C# programming these days. I’m trying to make sure that all the classes I’m writing have unit tests so that we’ll be able to find problems more easily along the way. This is a pretty big project I’m working on. I found nUnit to use as an xUnit testing framework. The problem was that I couldn’t figure out how to get Visual C# Express to use it for runtime debugging. There doesn’t appear to be a way to do it via the GUI. The full version of Visual Stuido has it, but work hasn’t gotten around to getting that for me yet.

Anyway, I poked around the Internet a bit and was able to find a hack that seem to be working just fine. Now I’m able to run my unit tests as I code to make sure all is well.

The URI to TrackBack this entry is: http://www.tycage.net/wp/tycage/2007/04/03/using-nunit-with-c-express/trackback/

Leave a Reply

[Ty's Weblog is proudly powered by WordPress.]