A global .NET Core command line tool for running xunit tests.
This project is the result of xunit/xunit#1684. The xUnit team might add a global console runner in the next major version, xUnit 3, but might not. In the meantime, this project is a wrapper around xunit.runner.console which is designed for use with dotnet tool install
.
Installation:
dotnet tool install -g xunit-cli
Usage:
xunit <assemblyPath> [additionalArgs]
Run xunit
without arguments to see full help output.