NunitXml.TestLogger
4.0.254
See the version list below for details.
dotnet add package NunitXml.TestLogger --version 4.0.254
NuGet\Install-Package NunitXml.TestLogger -Version 4.0.254
<PackageReference Include="NunitXml.TestLogger" Version="4.0.254" />
paket add NunitXml.TestLogger --version 4.0.254
#r "nuget: NunitXml.TestLogger, 4.0.254"
// Install NunitXml.TestLogger as a Cake Addin #addin nuget:?package=NunitXml.TestLogger&version=4.0.254 // Install NunitXml.TestLogger as a Cake Tool #tool nuget:?package=NunitXml.TestLogger&version=4.0.254
NUnit Test Logger
NUnit xml report extension for Visual Studio Test Platform.
Packages
Logger | Stable Package | Pre-release Package |
---|---|---|
NUnit |
If you're looking for xunit
or junit
, please see https://github.com/spekt/testlogger.
Usage
NUnit logger can generate xml reports in the NUnit v3 format.
- Add a reference to the NUnit Logger NuGet package in test project
- Use the following command line in tests
> dotnet test --logger:nunit
- Test results are generated in the
TestResults
directory relative to thetest.csproj
A path for the report file can be specified as follows:
> dotnet test --logger:"nunit;LogFilePath=test-result.xml"
test-result.xml
will be generated in the same directory as test.csproj
.
Note: the arguments to --logger
should be in quotes since ;
is treated as a command delimiter in shell.
All common options to the logger is documented in the wiki. E.g.
token expansion for {assembly}
or {framework}
in result file.
NUnit test framework settings
- If your scenario requires test case properties like
Description
in the xml, please enable internal properties for the nunit adapter:
dotnet test --logger:nunit -- NUnit.ShowInternalProperties=true
- NUnit test adapter also provides a mechanism to emit test result xml from the NUnit engine. You may use following commandline for the same:
dotnet test --logger:nunit -- NUnit.TestOutputXml=<foldername relative to test binary directory>
Release Checklist
A note to self on how to make releases:
- Create changelog entry with tentative version.
- Verify the version on Spekt myget (remember to update version in command below).
> dotnet new nunit
> dotnet add package NunitXml.TestLogger --version 3.0.109 --source https://www.myget.org/F/spekt/api/v3/index.json
> dotnet test --logger:nunit
- Push the version on Spekt myget to Nuget.
- Create a github release with above version tag. Link to the changelog section.
- Thank the issue authors and notify them about the released version.
License
MIT
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.0 is compatible. netstandard1.1 was computed. netstandard1.2 was computed. netstandard1.3 was computed. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 was computed. netstandard2.1 was computed. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Windows Phone | wp8 was computed. wp81 was computed. wpa81 was computed. |
Windows Store | netcore was computed. netcore45 was computed. netcore451 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
This package has no dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on NunitXml.TestLogger:
Package | Downloads |
---|---|
Framework.Selenium
A full-featured Selenium wrapper that incorporates Appium and other runners, API testing, and Database testing. This package tracks steps taken and has reporting extentions for some tools and can be expanded for nearly any test management tool. Advanced, object-oriented design for fast, efficient, and reliable automated tests. |
|
KorbellaTests.SharedServices.API
Package Description |
GitHub repositories (18)
Showing the top 5 popular GitHub repositories that depend on NunitXml.TestLogger:
Repository | Stars |
---|---|
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
|
|
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
|
|
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
|
|
Prowlarr/Prowlarr
Prowlarr is an indexer manager/proxy built on the popular *arr .net/reactjs base stack to integrate with your various PVR apps, supporting management of both Torrent Trackers and Usenet Indexers.
|
|
Lidarr/Lidarr
Looks and smells like Sonarr but made for music.
|
Version | Downloads | Last updated |
---|---|---|
4.1.0 | 96,462 | 10/12/2024 |
4.0.254 | 239,269 | 7/28/2024 |
3.1.20 | 748,196 | 2/10/2024 |
3.1.15 | 1,383,444 | 7/6/2023 |
3.0.131 | 914,554 | 1/30/2023 |
3.0.127 | 937,556 | 9/10/2022 |
3.0.117 | 2,674,893 | 11/6/2021 |
3.0.107 | 907,835 | 5/21/2021 |
3.0.97 | 277,810 | 3/10/2021 |
3.0.91 | 152,412 | 1/31/2021 |
2.1.80 | 825,224 | 10/28/2020 |
2.1.62 | 903,664 | 5/9/2020 |
2.1.41 | 1,666,467 | 5/20/2019 |
2.1.36 | 358,444 | 11/27/2018 |
2.1.17 | 40,098 | 11/9/2018 |
1.1.0 | 89,497 | 12/28/2017 |
1.0.0 | 13,036 | 9/26/2017 |