NunitXml.TestLogger 6.1.0

dotnet add package NunitXml.TestLogger --version 6.1.0
                    
NuGet\Install-Package NunitXml.TestLogger -Version 6.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NunitXml.TestLogger" Version="6.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NunitXml.TestLogger" Version="6.1.0" />
                    
Directory.Packages.props
<PackageReference Include="NunitXml.TestLogger" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NunitXml.TestLogger --version 6.1.0
                    
#r "nuget: NunitXml.TestLogger, 6.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=NunitXml.TestLogger&version=6.1.0
                    
Install NunitXml.TestLogger as a Cake Addin
#tool nuget:?package=NunitXml.TestLogger&version=6.1.0
                    
Install NunitXml.TestLogger as a Cake Tool

NUnit Test Logger

NUnit xml report extension for Visual Studio Test Platform.

NuGet Downloads

Packages

Logger Stable Package Pre-release Package
NUnit NuGet MyGet Pre Release

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.

  1. Add a reference to the NUnit Logger NuGet package in test project
  2. Use the following command line in tests
> dotnet test --logger:nunit
  1. Test results are generated in the TestResults directory relative to the test.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 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.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework 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 tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 18 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.
Readarr/Readarr
Book Manager and Automation (Sonarr for Ebooks)
dotnet/macios
.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
microsoft/botbuilder-dotnet
Welcome to the Bot Framework SDK for .NET repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using .NET.
SonarSource/sonar-dotnet
Code analyzer for C# and VB.NET projects
Whisparr/Whisparr
datastax/csharp-driver
DataStax C# Driver for Apache Cassandra
UltravioletFramework/ultraviolet
The Ultraviolet Framework is a .NET game development framework written in C#.
spatialos/gdk-for-unity
SpatialOS GDK for Unity
Raiffeisen-DGTL/ViennaNET
Framework for quickly creating enterprise microservices on .NET https://habr.com/ru/company/raiffeisenbank/blog/494830/
newbe36524/Newbe.Claptrap
This is a frameworks with reactive, event sourcing and Actor pattern as basic theories. On top of this, developers can create "distributed", "scale out", and "easy to test" application more simply. Claptrap and it`s Minions is on the way.
bchavez/Coinbase
:moneybag: A .NET/C# implementation of the Coinbase API.
unoplatform/Uno.Gallery
The Uno Platform Gallery application
chroma-sdk/Colore
A powerful C# library for Razer Chroma's SDK
Version Downloads Last updated
6.1.0 96,788 3/15/2025
6.0.0 79,636 2/14/2025
5.0.0 171,177 12/19/2024
4.1.0 367,436 10/12/2024
4.0.254 398,253 7/28/2024
3.1.20 987,712 2/10/2024
3.1.15 1,746,254 7/6/2023
3.0.131 1,043,111 1/30/2023
3.0.127 1,015,263 9/10/2022
3.0.117 2,810,378 11/6/2021
3.0.107 976,515 5/21/2021
3.0.97 293,650 3/10/2021
3.0.91 159,009 1/31/2021
2.1.80 855,897 10/28/2020
2.1.62 931,096 5/9/2020
2.1.41 1,786,997 5/20/2019
2.1.36 364,946 11/27/2018
2.1.17 46,396 11/9/2018
1.1.0 91,739 12/28/2017
1.0.0 16,368 9/26/2017