xUnit v2

Summary

Contains functionality related to running xunit tests.

In order to use the commands for this alias, include the following in your build.cake file to download and install from NuGet.org, or specify the ToolPath within the XUnit2Settings class:

#tool "nuget:?package=xunit.runner.console"

General

XUnit2(ICakeContext, IEnumerable<FilePath>) Runs all xUnit.net tests in the specified assemblies.
XUnit2(ICakeContext, IEnumerable<FilePath>, XUnit2Settings) Runs all xUnit.net v2 tests in the specified assemblies.
XUnit2(ICakeContext, IEnumerable<string>) Runs all xUnit.net v2 tests in the specified assemblies.
XUnit2(ICakeContext, IEnumerable<string>, XUnit2Settings) Runs all xUnit.net v2 tests in the specified assemblies.
XUnit2(ICakeContext, string) Runs all xUnit.net v2 tests in the assemblies matching the specified pattern.
XUnit2(ICakeContext, string, XUnit2Settings) Runs all xUnit.net v2 tests in the assemblies matching the specified pattern.