![]() |
VOOZH | about |
dotnet add package XunitXml.TestLogger --version 8.0.0
NuGet\Install-Package XunitXml.TestLogger -Version 8.0.0
<PackageReference Include="XunitXml.TestLogger" Version="8.0.0" />
<PackageVersion Include="XunitXml.TestLogger" Version="8.0.0" />Directory.Packages.props
<PackageReference Include="XunitXml.TestLogger" />Project file
paket add XunitXml.TestLogger --version 8.0.0
#r "nuget: XunitXml.TestLogger, 8.0.0"
#:package XunitXml.TestLogger@8.0.0
#addin nuget:?package=XunitXml.TestLogger&version=8.0.0Install as a Cake Addin
#tool nuget:?package=XunitXml.TestLogger&version=8.0.0Install as a Cake Tool
Xunit logger extensions for MTP v2 and Visual Studio Test Platform. Please use v7.x for MTP v1 runners.
| 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.
Xunit logger can generate xml reports in the xunit v2 format (https://xunit.net/docs/format-xml-v2).
> dotnet test --logger:xunit
TestResults directory relative to the test.csprojA 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.
The logger also supports Microsoft.Testing.Platform (MTP) with the following command line options:
> dotnet test -- --report-spekt-xunit --report-spekt-xunit-filename test_result.xml
The --report-spekt-xunit option can also accept configuration arguments:
> dotnet test -- --report-spekt-xunit "key1=value1;key2=value2"
| Option name | Purpose | Documentation |
|---|---|---|
| LogFileName* | Customize test result file name with {assembly} or {framework} tokens |
See config-wiki |
| LogFilePath* | Test result file full path | See config-wiki |
| UseRelativeAttachmentPath* | Use attachment paths relative to test result file. Boolean. Default: false | See config-wiki |
*All common options to the logger is documented in the wiki.
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
This package has no dependencies.
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. |
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.
|
|
|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
|
|
|
empira/PDFsharp
PDFsharp and MigraDoc Foundation for .NET 6 and .NET Framework
|
|
|
SonarSource/sonar-dotnet
Code analyzer for C# and VB.NET projects
|
|
|
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)
|
|
|
microsoft/Oryx
Build your repo automatically.
|
|
|
Baseflow/XamarinMediaManager
Cross platform Xamarin plugin to play and control Audio and Video
|
|
|
datastax/csharp-driver
DataStax C# Driver for Apache Cassandra
|
|
|
microsoft/CsWinRT
C# language projection for the Windows Runtime
|
|
|
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 |
|---|---|---|
| 8.0.0 | 638,877 | 1/9/2026 |
| 7.1.0 | 258,679 | 12/13/2025 |
| 7.0.2 | 419,636 | 10/8/2025 |
| 7.0.1 | 31,714 | 10/4/2025 |
| 6.1.0 | 1,706,232 | 3/15/2025 |
| 6.0.0 | 253,069 | 2/14/2025 |
| 5.0.0 | 482,833 | 12/19/2024 |
| 4.1.0 | 898,675 | 10/12/2024 |
| 4.0.254 | 643,486 | 7/28/2024 |
| 3.1.20 | 2,288,661 | 2/10/2024 |
| 3.1.17 | 1,424,479 | 9/17/2023 |
| 3.1.11 | 617,358 | 7/6/2023 |
| 3.0.78 | 1,367,099 | 1/30/2023 |
| 3.0.70 | 4,638,358 | 11/1/2021 |
| 3.0.66 | 1,515,005 | 3/10/2021 |
| 3.0.62 | 191,288 | 2/3/2021 |
| 3.0.56 | 57,542 | 1/31/2021 |
| 2.1.45 | 165,764 | 1/24/2021 |
| 2.1.26 | 6,410,085 | 12/22/2018 |
| 2.0.0 | 1,996,388 | 9/26/2017 |