NUnit

from Wikipedia, the free encyclopedia
NUnit

Logo from NUnit
NUnit GUI.png
GUI of NUnit 2.4.6 under Windows
Basic data

developer Charlie Poole
Current  version 3.12.0
(May 14, 2019)
programming language C #
category Test software
License MIT license for 3.0, BSD-like license (adapted zlib license ) for 2.x
German speaking No
http://www.nunit.org/

NUnit is a software framework with which unit tests can be carried out for all .NET languages. Like most of the unit testing frameworks, NUnit is an implementation of the xUnit concept by Kent Beck and was originally ported by JUnit .

For the development environment Visual Studio from Microsoft that exist plugins Visual NUnit (available for Visual Studio 2008 and 2010), NUnit test adapter (available from Visual Studio 2012 version), VSNunit and the commercial project TestDriven.NET. Resharper from JetBrains , a versatile plug-in for Visual Studio, also provides support for NUnit. The free development environment SharpDevelop supports NUnit out of the box. With the help of these plugins it is possible, for example, to run individual tests directly from the source text editor, which significantly shortens the cycle for developing and testing modules. NUnit is often used in conjunction with NMock .

NUnit is one of the most important test frameworks and is considered to be the most widely used framework under .NET. Other frameworks under .NET, which are not as widespread as NUnit, are MbUnit and xUnit.net. Microsoft Test Framework , Microsoft's competing product, is now included in Microsoft Visual Studio .

literature

Web links

Individual evidence

  1. The nunit Open Source Project on Open Hub: Languages Page . In: Open Hub . (accessed on September 6, 2018).
  2. Microsoft releases Visual Studio Test as open source Heise online
  3. Mikael Lundin: Testing with F # , p. 69 [1]
  4. https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-mstest