Package org.gradle.api.tasks.testing
Interface TestEventReporterFactory
@ServiceScope(org.gradle.internal.service.scopes.Scope.Build.class)
@Incubating
public interface TestEventReporterFactory
A service that provides access to the test event reporting API.
- Since:
- 8.12
-
Method Summary
Modifier and TypeMethodDescriptioncreateTestEventReporter
(String rootName) Returns an object that can be used to report test events.
-
Method Details
-
createTestEventReporter
Returns an object that can be used to report test events.When closed, it will throw if the root node has been failed.
- Parameters:
rootName
- the name for the root node of the test tree- Returns:
- the test event reporter
- Since:
- 8.12
-