NUnitLite NuGet Package

NUnitLite provides a simple way to run NUnit tests, without the overhead of a full NUnit installation.

It is suitable for projects that want to have a quick way to run tests using a console runner and don't need all the features of the NUnit engine and console runner.

Supported platforms:
- .NET Framework 4.6.2+
- .NET 6.0+

How to use this package:

1. Create a console application for your tests and delete the generated class containing Main().
2. Install the NUnitLite package, which creates a new Main() as well as adding a reference to NUnitLite. This will also bring in the NUnit package, which adds a reference to the NUnit framework to your project.
3.

Add your tests to the test project and simply start the project to execute them.




Got any NUnitLite Question?





Info

Version: 4.1.0
Author(s): Charlie Poole, Rob Prouse
Last Update: Sunday, February 25, 2024
.NET Fiddle: Online Example
Project Url: https://nunit.org/
NuGet Url: https://www.nuget.org/packages/NUnitLite


Install
Install-Package NUnitLite
dotnet add package NUnitLite
paket add NUnitLite
NUnitLite Download (Unzip the "nupkg" after downloading)

.NETFramework 3.5
  • NUnit(>= 3.13.1 && <= 3.13.1)
.NETFramework 4.0
  • NUnit(>= 3.13.1 && <= 3.13.1)
.NETFramework 4.5
  • NUnit(>= 3.13.1 && <= 3.13.1)
.NETStandard 2.0 3 packages depend on this package.


Tags



STATS

must-have-score

6.5

avg-downloads-per-day

1131

days-since-last-release

62