XunitXml.TestLogger 4.1.0

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

Showing the top 20 packages that depend on XunitXml.TestLogger.

Packages Downloads
AgileLabs.Testing.Web
Package Description
5

This package has no dependencies.

Version Downloads Last updated
6.1.0 6 04/01/2025
6.0.0 4 04/01/2025
5.0.0 5 01/30/2025
4.1.0 5 01/30/2025
4.0.254 5 01/30/2025
3.1.20 5 01/30/2025
3.1.17 6 12/23/2024
3.1.11 5 01/30/2025
3.0.78 5 01/30/2025
3.0.70 5 01/30/2025
3.0.66 5 01/30/2025
3.0.62 5 01/30/2025
3.0.56 5 01/30/2025
2.1.45 5 01/30/2025
2.1.26 5 01/30/2025
2.0.0 7 01/30/2025
1.1.0-post-rtm 5 01/30/2025
1.0.3-pre-rtm 5 01/30/2025
1.0.2-pre-rtm 5 01/30/2025