TapIssuesAliases.

TapIssuesFromContent(ICakeContext, string, BaseTapLogFileFormat) Method

Summary

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

Syntax

public static IIssueProvider TapIssuesFromContent(this ICakeContext context, string logFileContent, BaseTapLogFileFormat format)

Examples

Read issues in Test Anything Protocol format:

var issues =
        ReadIssues(
            TapIssuesFromContent(
                logFileContent,
                GenericLogFileFormat),
            @"c:\repo");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
logFileContent string Content of 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.