Unit Testing with NUnit

Unit testing using testing frameworks is a very important activity for any developer. With the nature and types of testing ever under the rise, it becomes important to use automation where ever possible.

Even though there are lot of unit testing frameworks, the simplest and the easiest to user for many scenarios is Nunit.

Though Microsoft has its own MSTest framework, it falls short in terms of the API and the learning materials tutorials for using it. Surprisingly this is one area which is under documented in Microsoft space.

Though there are lots of tutorials to get started with NUnit, I have found the following very good to start with:

Pluralsight Course: Introduction to .NET Testing with NUnit

For samples the best I have seen is the nunit-csharp-samples.

I will also share some of the good scripts and samples I see in forthcoming blogs.

Advertisements