XUnitAliases Class

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 XUnitSettings class:

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

Namespace
Cake.Common.Tools.XUnit
Base Types
  • object
graph BT Type-->Base0["object"] Type["XUnitAliases"] class Type type-node

Syntax

[CakeAliasCategory("xUnit")]
public static class XUnitAliases

Attributes

Type Description
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.

Methods

Name Value Summary
XUnit(ICakeContext, IEnumerable<FilePath>) void
Runs all xUnit.net tests in the specified assemblies.
static
XUnit(ICakeContext, IEnumerable<FilePath>, XUnitSettings) void
Runs all xUnit.net tests in the specified assemblies.
static
XUnit(ICakeContext, IEnumerable<string>) void
Runs all xUnit.net tests in the specified assemblies.
static
XUnit(ICakeContext, IEnumerable<string>, XUnitSettings) void
Runs all xUnit.net tests in the specified assemblies.
static
XUnit(ICakeContext, string) void
Runs all xUnit.net tests in the assemblies matching the specified pattern.
static
XUnit(ICakeContext, string, XUnitSettings) void
Runs all xUnit.net tests in the assemblies matching the specified pattern.
static