SpecFlowAliases Class

Summary

Contains functionality related to SpecFlow.

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 appropriate settings class:

#tool "nuget:?package=SpecFlow"

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

Syntax

[CakeAliasCategory("SpecFlow")]
public static class SpecFlowAliases

Attributes

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

Methods

Name Value Summary
SpecFlowStepDefinitionReport(ICakeContext, FilePath, SpecFlowStepDefinitionReportSettings) void
Creates a report that shows the usage and binding status of the steps for the entire project. You can use this report to find both unused code in the automation layer and scenario steps that have no definition yet. See SpecFlow Documentation for more information.
static
SpecFlowStepDefinitionReport(ICakeContext, FilePath) void
Creates a report that shows the usage and binding status of the steps for the entire project. You can use this report to find both unused code in the automation layer and scenario steps that have no definition yet. See SpecFlow Documentation for more information.
static
SpecFlowTestExecutionReport(ICakeContext, Action<ICakeContext>, FilePath, SpecFlowTestExecutionReportSettings) void
Creates a formatted HTML report of a test execution. The report contains a summary about the executed tests and the result and also a detailed report for the individual scenario executions. See SpecFlow Documentation for more information.
static
SpecFlowTestExecutionReport(ICakeContext, Action<ICakeContext>, FilePath) void
Creates a formatted HTML report of a test execution. The report contains a summary about the executed tests and the result and also a detailed report for the individual scenario executions. See SpecFlow Documentation for more information.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin