SpecFlowAliases.

SpecFlowStepDefinitionReport(ICakeContext, FilePath, SpecFlowStepDefinitionReportSettings) Method

Summary

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.
Namespace
Cake.Common.Tools.SpecFlow
Containing Type
SpecFlowAliases

Syntax

[CakeMethodAlias]
[CakeAliasCategory("StepDefinitionReport")]
[CakeNamespaceImport("Cake.Common.Tools.SpecFlow.StepDefinitionReport")]
public static void SpecFlowStepDefinitionReport(this ICakeContext context, FilePath projectFile, SpecFlowStepDefinitionReportSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.
CakeNamespaceImportAttribute An attribute used to hint Cake about additional namespaces that need to be imported for an alias to work. This attribute can mark an extension method, the extension method class, or the assembly to provide a global set of imports.

Parameters

Name Type Description
context ICakeContext The context.
projectFile FilePath The path of the project file containing the feature files.
settings SpecFlowStepDefinitionReportSettings The settings.

Return Value

Type Description
void