Minimal

stressed for motivation and achievement

2006-10-08

 

Debugging NUnit tests in C# Express

Well, I finally got around to looking at a spot of C# programming again. Ran the tests I’ve got on an existing project and, alarmingly, a few failed. So I figured I’d step into them, but it looks like you can’t do it. There’s no way to attach to a process (NUnit in this case) in C# Express. Nor can I select a different executable to run when I use the Start command in the IDE. Bummer.

A quick Google search seemed to confirm the lack of support for this stuff, although a workaround was presented. Does anyone out there know better? Has the situation improved since the pages I read were written? Granted, I’m being somewhat lazy in asking this question instead of doing the research myself, but I reckon a number of my former colleagues must’ve come across this already. Wilka? James? Jack? A.N.Other?


Comments:
TestDriven .NET?
 
I avoided C# express as it didn't do proper deployment projects - so I've no idea I'm afraid.
 
Yup, like Ash said: http://www.mutantdesign.co.uk/demos/VCSExpress.html

Not that I've tried it, so I've got no idea what's actually in the "Test with" sub-menu, but I'd expect a debugger option to be in there.
 
Hmmm... I'll give it a go, but that demo doesn't show any debugging going on. I've read that TestDriven.NET doesn't support it in Express. Guess I'll soon find out. :)
 
Bah. I've installed it and it's not even appearing in my context menus, etc. I'm sure it's just been there automatically when I've used it before, but this time, no dice.
 
Post a Comment



<< Home

Archives

April 2002   May 2002   June 2002   July 2002   August 2002   September 2002   October 2002   November 2002   December 2002   January 2003   February 2003   March 2003   April 2003   May 2003   June 2003   July 2003   August 2003   September 2003   October 2003   November 2003   December 2003   January 2004   February 2004   March 2004   May 2004   June 2004   July 2004   August 2004   September 2004   October 2004   November 2004   December 2004   January 2005   February 2005   March 2005   April 2005   May 2005   June 2005   July 2005   August 2005   September 2005   October 2005   November 2005   December 2005   January 2006   February 2006   March 2006   April 2006   May 2006   June 2006   July 2006   August 2006   September 2006   October 2006   November 2006   December 2006   January 2007   February 2007  

This page is powered by Blogger. Isn't yours?