Skip to content
XUnit logger for vstest platform
Branch: master
Clone or download
codito Attempt to fix failing test in appveyor (#18)
* fix: assert on count for skipped test.

* chore: upload test-result.xml on test failure.

* chore: use explicit package version for test in appveyor.
Latest commit f146601 Mar 23, 2019

Xunit Test Logger

Xunit logger extensions for Visual Studio Test Platform.

Build Status Build status


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


Xunit logger can generate xml reports in the xunit v2 format (

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



You can’t perform that action at this time.