NUnit is an open source unit testing framework for .NET written in C#. It serves the same purpose as JUnit or TestNG does in the Java world, and is one of many in the xUnit family.