Package org.gradle.api.tasks.testing
Schnittstelle 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.
- Seit:
- 8.12
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcreateTestEventReporter(String rootName, Directory binaryResultsDirectory, Directory htmlReportDirectory) Returns an object that can be used to report test events.
-
Methodendetails
-
createTestEventReporter
GroupTestEventReporter createTestEventReporter(String rootName, Directory binaryResultsDirectory, Directory htmlReportDirectory) Returns an object that can be used to report test events.When closed, it will throw if the root node has been failed.
- Parameter:
rootName- the name for the root node of the test treebinaryResultsDirectory- the directory to write binary test results tohtmlReportDirectory- the directory to write HTML test reports to- Gibt zurück:
- the test event reporter
- Seit:
- 8.13
-