Running tests with dotnet xunit using Cake

added by DotNetKicks
10/17/2017 11:49:21 AM

1 Kicks, 377 Views

In this post I show how you can run tests using the xUnit .NET CLI Tool dotnet xunit when building projects using Cake. Cake includes first class support for running test using dotnet test via the DotNetCoreTest alias, but if you want access to the additional configuration provided by the dotnet-xunit tool, you'll currently need to run the tool using DotNetCoreTool instead.