XunitXml.TestLogger 6.1.0

dotnet add package XunitXml.TestLogger --version 6.1.0
                    
NuGet\Install-Package XunitXml.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="XunitXml.TestLogger" Version="6.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XunitXml.TestLogger" Version="6.1.0" />
                    
Directory.Packages.props
<PackageReference Include="XunitXml.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 XunitXml.TestLogger --version 6.1.0
                    
#r "nuget: XunitXml.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=XunitXml.TestLogger&version=6.1.0
                    
Install XunitXml.TestLogger as a Cake Addin
#tool nuget:?package=XunitXml.TestLogger&version=6.1.0
                    
Install XunitXml.TestLogger as a Cake Tool

Xunit Test Logger

Xunit logger extensions for Visual Studio Test Platform.

NuGet Downloads

Packages

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

If you're looking for nunit or junit, please see https://github.com/spekt/testlogger.

Usage

Xunit logger can generate xml reports in the xunit v2 format (https://xunit.net/docs/format-xml-v2).

  1. Add a reference to the Xunit Logger nuget package in test project
  2. Use the following command line in tests
> dotnet test --logger:xunit
  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:"xunit;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.

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 (3)

Showing the top 3 NuGet packages that depend on XunitXml.TestLogger:

Package Downloads
M5x.Testing

Macula Base Testing Library

Xunit.Logging

A logger for xUnit output for lazy people (like me)

Mi.Fx.Testing

Abstraction Layer for macula.io xunit testing.

GitHub repositories (26)

Showing the top 20 popular GitHub repositories that depend on XunitXml.TestLogger:

Repository Stars
PowerShell/PowerShell
PowerShell for every system!
dotnet/aspnetcore
ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
bchavez/Bogus
:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
mono/SkiaSharp
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
PowerShell/PSReadLine
A bash inspired readline implementation for PowerShell
MvvmCross/MvvmCross
The .NET MVVM framework for cross-platform solutions, including Android, iOS, MacCatalyst, macOS, tvOS, WPF, WinUI
FakeItEasy/FakeItEasy
The easy mocking library for .NET
Cysharp/Ulid
Fast .NET C# Implementation of ULID for .NET and Unity.
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.
aspnet/AspNetWebStack
ASP.NET MVC 5.x, Web API 2.x, and Web Pages 3.x (not ASP.NET Core)
SonarSource/sonar-dotnet
Code analyzer for C# and VB.NET projects
microsoft/Oryx
Build your repo automatically.
Baseflow/XamarinMediaManager
Cross platform Xamarin plugin to play and control Audio and Video
empira/PDFsharp
PDFsharp and MigraDoc Foundation for .NET 6 and .NET Framework
datastax/csharp-driver
DataStax C# Driver for Apache Cassandra
microsoft/CsWinRT
C# language projection for the Windows Runtime
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
charlessolar/Aggregates.NET
.NET event sourced domain driven design model via NServiceBus and GetEventStore
leonardochaia/dotnet-affected
.NET tool for determining which projects are affected by a set of changes. Useful for large projects or monorepos.
Version Downloads Last updated
6.1.0 47,250 3/15/2025
6.0.0 76,370 2/14/2025
5.0.0 181,287 12/19/2024
4.1.0 388,827 10/12/2024
4.0.254 379,280 7/28/2024
3.1.20 1,316,703 2/10/2024
3.1.17 1,101,085 9/17/2023
3.1.11 531,897 7/6/2023
3.0.78 1,139,673 1/30/2023
3.0.70 3,883,335 11/1/2021
3.0.66 1,375,134 3/10/2021
3.0.62 177,424 2/3/2021
3.0.56 28,952 1/31/2021
2.1.45 147,982 1/24/2021
2.1.26 5,899,725 12/22/2018
2.0.0 1,920,362 9/26/2017
1.1.0-post-rtm 44,052 6/21/2017
1.0.3-pre-rtm 7,693 6/21/2017
1.0.2-pre-rtm 72,563 3/20/2017