• Stars
    star
    2,455
  • Rank 17,939 (Top 0.4 %)
  • Language
    C#
  • License
    MIT License
  • Created over 10 years ago
  • Updated 11 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

NUnit Framework

NUnit 4 Framework

Follow NUnit Slack NUnit issues marked with "help wanted" label NUnit issues marked with "good first issue" label

NUnit is a unit-testing framework for all .NET languages. It can run on macOS, Linux and Windows operating systems. NUnit can be used for a wide range of testing, from unit testing with TDD to full fledged system and integration testing. It is a non-opinionated, broad and deep framework with multiple different ways to assert that your code behaves as expected. Many aspects of NUnit can be extended to suit your specific purposes.

The latest version, version 4, is an upgrade from the groundbreaking NUnit 3 framework. It is a modernized version, aimed at taking advantage of the latest .NET features and C# language constructs.

If you are upgrading from NUnit 3, be aware of the breaking changes. Please see the NUnit 4 Migration Guide and take care to prepare your NUnit 3 code before you do the upgrade.

Table of Contents

Downloads

The latest stable release of the NUnit Framework is available on NuGet or can be downloaded from GitHub. Pre-release builds are available on MyGet.

Documentation

Documentation for all NUnit projects can be found at the documentation site.

Contributing

For more information on contributing to the NUnit project, please see CONTRIBUTING.md and the Developer Docs.

NUnit 3.0 was created by Charlie Poole, Rob Prouse, Simone Busoli, Neil Colvin and numerous community contributors. A complete list of contributors since NUnit migrated to GitHub can be found on GitHub.

Earlier versions of NUnit were developed by Charlie Poole, James W. Newkirk, Alexei A. Vorontsov, Michael C. Two and Philip A. Craig.

License

NUnit is Open Source software and NUnit 4 is released under the MIT license. Earlier releases used the NUnit license. Both of these licenses allow the use of NUnit in free and commercial applications and libraries without restrictions.

NUnit Projects

NUnit is made up of several projects. When reporting issues, please try to report issues in the correct project.

Core Projects

  • NUnit Test Framework - The test framework used to write NUnit tests (this repository)
  • NUnit Visual Studio Adapter - Visual Studio/Dotnet adapter for running NUnit 3 and 4 tests in Visual Studio or the dotnet command line.
  • NUnit Console and Engine - Runs unit tests from the command line and provides the engine that is used by other test runners to run NUnit tests.

Visual Studio Extensions

NUnit Engine Extensions

More Repositories

1

docs

Documentation for all active NUnit projects
Dockerfile
597
star
2

nunit-csharp-samples

Samples of NUnit Usage in C#
C#
238
star
3

nunit-console

NUnit Console runner and test engine
C#
208
star
4

nunit3-vs-adapter

NUnit 3.0 Visual Studio test adapter for use under VS 2012 or later
C#
199
star
5

nunit.analyzers

Roslyn analyzers for writing unit tests with NUnit
C#
84
star
6

dotnet-test-nunit

Deprecated test runner for .NET Core. For use with project.json only. For recent releases of .NET Core, use the NUnit 3 Visual Studio Adapter
C#
67
star
7

nunit-transforms

A collection of contributed XSLT transforms for use with the NUnit result file.
XSLT
51
star
8

nunit-vs-adapter

Runs NUnit V2 tests inside the Visual Studio 2012 or later Test Explorer window.
C#
50
star
9

nunit.xamarin

NUnit test runners for Xamarin and mobile devices - No longer maintained
C#
50
star
10

nunit-vs-testgenerator

A Visual Studio extension for generating unit tests and IntelliTests using NUnit
C#
35
star
11

dotnet-new-nunit

Project is being maintained by the .NET Team now
Visual Basic .NET
33
star
12

nunit-vs-templates

Visual Studio project & item templates and snippets
Vim Snippet
33
star
13

nunitv2

NUnit 2.x repository. NUnit V2 IS NO LONGER MAINTAINED OR UPDATED. Bugs should be reported in the main NUnit 3.0 repository.
C#
24
star
14

nunitlite

C#
15
star
15

teamcity-event-listener

NUnit Engine extension that helps integration with teamcity
C#
10
star
16

nunit-fsharp-samples

Samples of NUnit Usage in F#
F#
8
star
17

nunit-cpp-samples

Samples of NUnit usage in C++
C++
8
star
18

governance

This repository holds documentation about how the NUnit Project is governed
7
star
19

nunit-vb-samples

Samples of NUnit Usage in Visual Basic .NET
Visual Basic
6
star
20

nunit.portable.agent

No longer needed nor maintained. The NUnit Portable Agent provides an interface that allows test runners to load the NUnit Framework and run tests in an assembly without taking a dependency on a specific version of the framework.
C#
4
star
21

nunit-compactframework

The .NET Compact Framework 3.5 version of the NUnit Framework
C#
3
star
22

nunit.github.io

The NUnit.org website
SCSS
3
star
23

nunit-silverlight

The Silverlight version of the NUnit 3 Framework
C#
2
star
24

nunit-project-loader

The NUnit project loader extension allows the NUnit engine to load nunit projects
C#
2
star
25

nunit-v2-result-writer

The V2 result writer converts NUnit 3 formatted XML results to NUnit 2 format.
C#
2
star
26

nunit3-vs-adapter.issues

Examples and repros of issues found in the NUnit Adapter
C#
2
star
27

vs-project-loader

NUnit engine extension that enables loading of VS projects and solutions
C#
2
star
28

nunit.org

The old NUnit website. Please see the new site's repo here
PHP
2
star
29

nunit-distribution

MSI installer bundling multiple NUnit 3.X components.
C#
1
star
30

nunit3-tdnet-adapter

NUnit 3.x adapter for TestDrivent.NET
C#
1
star
31

resources

Icons, images and other collateral for use in the other NUnit projects
HTML
1
star
32

nunit.issues

A repo for holding reproduction code for the issues in the NUnit repository.
C#
1
star
33

.github

1
star
34

NUnit.System.Linq

Partial implementation of System.Linq for use with NUnit's .NET 2.0 builds
C#
1
star
35

nunit-console.issues

Tests demonstrating issues with NUnit-console
C#
1
star
36

nunit3-vs-adapter-demo

Demo project used in testing the UI side of the NUnit3 VS adapter
C#
1
star
37

nunit-v2-framework-driver

Engine extension supporting execution of NUnit V2 tests
C#
1
star