December 30th, 2008
In a previous post I looked at how to build a very simple linked list in C#.. That class had many problems, including that it exposed quite a bit of its inner workings to the outside world. In this post I will introduce a C# generic LinkedList class that implements the Java LinkedList specification and behaves accordingly. I used this opportunity to explore how to apply unit testing with NUnit to effectively test the development process.
Read the rest of this entry »
Tags: linked list, nunit, unit testing
Posted in Algorithms, Beginner, Learn C# | No Comments, yet!
December 30th, 2008
Unit testing with NUnit is deeply integrated into Mono. The Mono code itself uses NUnit extensively to test its own functionality. In this post we look at how you can enable unit testing for your own code under MonoDevelop. In an earlier post I looked at how to install NUnit for Visual Studio 2008 Express, in this post we do the same for MonoDevelop.
Read the rest of this entry »
Tags: monodevelop, nunit, unit testing
Posted in Beginner, Learn C# | 4 Comments - getting there! »
November 27th, 2008

Unit testing helps you verify that each individual part of your code is working as expected and keeps doing that as you change your software. You do this by adding small bits of testing code and have the unit testing frame work execute them in order. I am currently writing some code that needs to have a basic unit testing framework and wanted to install the NUnit framework. This post is about how you can install NUnit, use it and run it with / install it for Visual Studio C# 2008 Express. I will leave the nuts and bolts of unit testing to a future post but this post should get you up and running.
Read the rest of this entry »
Tags: nunit, unit testing, visual studio express C# 2008
Posted in Intermediate, Learn C# | 10 Comments - getting there! »