I was looking for some tools to test .NET 2.0 code as thoroughly as possible. NUnit is definitely a great unit testing tool – setting up test cases is extremely easy and in addition, it comes with a great GUI based test runner (which can be invoked from code as well). However, I really wanted to get code coverage information as well. I looked at CoverageEye.NET but I don’t think (at least I couldn’t get it to) it works with 2.0 assemblies yet. NCover seemed good but just by itself, it has a command line interface. Looking further, I found that SharpDevelop 2.0 has both NUnit and NCover integration. I had tried SharpDevelop when it worked with .NET 1.1 (at that I felt it was a bit slow) but hadn’t tried it since. However, I thought it was a great time as any to give the new version a try. I have to say – this is the solution to my problem! Its NUnit/NCover integration is great. I was able to do unit testing/code coverage as I expect to do it – write your tests… use a GUI to run those tests, and automatically see visually (within the text editor, with green highlighted portions being the covered code, and red highlighted portions being uncovered code) what code is covered. Also, I have to say I am impressed with the other parts of #develop 2 as well… its features are getting to be on par with VS 2005 – it even works directly with VS solutions and projects. There are still a few features I need for this particular project (for ex. displaying the actual names of Enum values instead of integer representations in the debugger) that keep me from using it directly. However, at least for unit testing/code coverage, this is great! Small note: I think you may need to install NUnit and NCover before the pieces inside #develop start using them.

Graduation

June 20, 2006

Phew. Completed my BS degree in Information and Computer Science. Moving on to (theoretically) far greater things.