NUnitLite 4.6.1
Prefix ReservedSee the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package NUnitLite --version 4.6.1
NuGet\Install-Package NUnitLite -Version 4.6.1
<PackageReference Include="NUnitLite" Version="4.6.1" />
<PackageVersion Include="NUnitLite" Version="4.6.1" />
<PackageReference Include="NUnitLite" />
paket add NUnitLite --version 4.6.1
#r "nuget: NUnitLite, 4.6.1"
#:package NUnitLite@4.6.1
#addin nuget:?package=NUnitLite&version=4.6.1
#tool nuget:?package=NUnitLite&version=4.6.1
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
- .NET 8.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.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |