TapIssuesAliases.

TapIssuesFromFilePath(ICakeContext, FilePath, BaseTapLogFileFormat) Method

Summary

Gets an instance of a provider for issues in a TAP compatible file from disk.
Assembly
Cake.Issues.Tap.dll
Namespace
Cake.Issues.Tap
Containing Type
TapIssuesAliases

Syntax

public static IIssueProvider TapIssuesFromFilePath(this ICakeContext context, FilePath logFilePath, BaseTapLogFileFormat format)

Examples

Read issues in Test Anything Protocol format:

var issues =
        ReadIssues(
            TapIssuesFromFilePath(
                @"c:\build\output.tap",
                GeneralLogFileFormat),
            @"c:\repo");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
logFilePath FilePath Path to the TAP file. The log file needs to be in the format as defined by the format parameter.
format BaseTapLogFileFormat Format of the provided TAP file.

Return Value

Type Description
IIssueProvider Instance of a provider for issues in TAP format.