NUnit
NUnit
|
|
---|---|
![]() |
|
![]() 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
- Bill Hamilton: NUnit Pocket Reference , O'Reilly Publisher , 2004
- Andy Hunt , Dave Thomas , Matt Hargett: Pragmatic Unit Testing in C # with Nunit , Pragmatic Bookshelf, ISBN 978-0-9776166-7-1
Web links
- NUnit website
- NUnit documentation on GitHub
- Visual NUnit under SourceForge (for Visual Studio 2008 and 2010)
- NUnit Test Adapter in the Visual Studio Gallery (from Visual Studio 2012)
- VSNUnit at Sourceforge
- TestDriven.NET
Individual evidence
- ↑ The nunit Open Source Project on Open Hub: Languages Page . In: Open Hub . (accessed on September 6, 2018).
- ↑ Microsoft releases Visual Studio Test as open source Heise online
- ↑ Mikael Lundin: Testing with F # , p. 69 [1]
- ↑ https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-mstest