The TAP support for the Cake.Issues addin for Cake allows you to read Test Anything Protocol (TAP) compatible files. This addin provides the aliases for reading issues from TAP compatible files and providing them to the Cake.Issues addin. It also requires the core Cake.Issues addin. There are also additional addins for generating reports or posting issues to pull requests. See the Project Site for an overview of the whole ecosystem of addins for working with issues in Cake scripts. NOTE: This is the version of the addin compatible with Cake Frosting. For addin compatible with Cake Script Runners see Cake.Issues.Tap.
$ dotnet add package Cake.Frosting.Issues.TapNOTE: This is the version of the addin compatible with Cake Frosting. For addin compatible with Cake .NET Tool see Cake.Issues.Tap.
The TAP support for the Cake.Issues addin for Cake allows you to read Test Anything Protocol (TAP) compatible files.
Cake.Issues redefines issue management within the Cake build system by offering a comprehensive, universal, and extensible solution. The unique capabilities of the addins empower development teams to enforce coding standards, generate insightful reports, seamlessly incorporate various linting tools, and streamline the integration with build servers and pull requests. With its modular architecture and extensive set of aliases, Cake.Issues provides a future-proof infrastructure for issue management in Cake builds, fostering a more efficient and adaptable development process.
For more information and extensive documentation see the Cake.Issues website. For general information about the Cake build automation system see the Cake website.
Integrating Cake.Issues into your Cake build is straightforward. With minimal setup, teams can enjoy the benefits of enhanced code quality management seamlessly integrated into their existing build pipeline.
After adding the addin the TAP log file can be parsed:
[TaskName("Analyze")]
public sealed class AnalyzeTask : FrostingTask<BuildContext>
{
public override void Run(BuildContext context)
{
var logPath = @"c:\build\log.tap";
var repoRootPath = @"c:\repo";
// Read issues.
var issues =
context.ReadIssues(
context.TapIssuesFromFilePath(logPath),
repoRootPath);
context.Information("{0} issues are found.", issues.Count());
}
}
For questions and to discuss ideas & feature requests, use the GitHub discussions on the Cake GitHub repository, under the Extension Q&A category.
Contributions are welcome. See Contribution Guidelines.
MIT License - Copyright © Cake Issues contributors
Binary distributions for some addins contain third-party code which is licensed under its own respective license. See LICENSE for details.