XUnit

xUnit is a free, open source, community-focused unit testing tool for C#, F#, and Visual Basic. xUnit.net v3 supports .NET 8.0 or later, and .NET Framework 4.7.2 or later. xUnit.net works with ReSharper, CodeRush, TestDriven.NET and Xamarin. You just need to install the popular xUnit.net test runner and install Tacotruck CLI or use Github action. Check out simple xUnit.net examplearrow-up-right.

Generate XML Report

To generate xml file report, you can use the spekt/testloggerarrow-up-right library which provides Junit, NUnit and Xunit logger/reporter extensions for Visual Studio Test Platform (VSTest).

First, install the appropriate test logger package:

Then run tests with the logger and log file path:

Install Tacotruck CLI

Submit test results

Support and Resources

Last updated