Class TeaPieReportingExtensions
public static class TeaPieReportingExtensions
- Inheritance
-
TeaPieReportingExtensions
- Inherited Members
Methods
RegisterReporter(TeaPie, Func<TestResultsSummary, Task>)
Registers an inline reporter that reports a test results summary using the specified onReportAction
.
The report is generated at the end of the pipeline run.
public static void RegisterReporter(this TeaPie teaPie, Func<TestResultsSummary, Task> onReportAction)
Parameters
teaPie
TeaPieThe current context instance.
onReportAction
Func<TestResultsSummary, Task>The action to be executed for test results summary report.
RegisterReporter(TeaPie, IReporter<TestResultsSummary>)
Registers a reporter to generate a test results summary at the end of the pipeline run.
public static void RegisterReporter(this TeaPie teaPie, IReporter<TestResultsSummary> reporter)
Parameters
teaPie
TeaPieThe current context instance.
reporter
IReporter<TestResultsSummary>The reporter instance to be added to the collection of reporters.