May 2018
Intermediate to advanced
300 pages
7h 35m
English
Cake has a rich support for running xUnit.net tests. Cake has two aliases for running the different versions of xUnit.net tests—xUnit for running earlier versions of xUnit.net and xUnit2 for Version 2 of xUnit.net. To use commands for the alias, the ToolPath to xUnit.net must be specified within the XUnit2Settings class or include the tool directive in the build.cake file, to instruct Cake to get the binaries required to run xUnit.net tests from NuGet.
Here is the syntax for including the tool directive for xUnit.net:
#tool "nuget:?package=xunit.runner.console"
Cake's XUnit2Alias is overloaded with different forms for running the xUnit.net version tests in the specified assemblies. The alias resides ...