SpecFlowAliases.

SpecFlowTestExecutionReport(ICakeContext, Action<ICakeContext>, FilePath) Method

Summary

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

Syntax

[CakeMethodAlias]
[CakeAliasCategory("TestExecutionReport")]
[CakeNamespaceImport("Cake.Common.Tools.SpecFlow.TestExecutionReport")]
public static void SpecFlowTestExecutionReport(this ICakeContext context, Action<ICakeContext> action, FilePath projectFile)

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.
action Action<ICakeContext> The action to run SpecFlow for. Supported actions are: MSTest, NUnit3 and XUnit2.
projectFile FilePath The path of the project file containing the feature files.

Return Value

Type Description
void