Package org.gradle.api.tasks.testing
Interface TestMetadataListener
Listens to the metadata events like reporting key-value pairs or file attachments during test execution.
- Since:
- 9.4.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidonMetadata(TestDescriptor testDescriptor, TestMetadataEvent metadataEvent) Fired when during test execution anything is printed to standard output or error
-
Method Details
-
onMetadata
Fired when during test execution anything is printed to standard output or error- Parameters:
testDescriptor- describes the testmetadataEvent- the event that contains the metadata- Since:
- 9.4.0
-