# TestMetadataListener

@NullMarked
@Incubating
interface TestMetadataListener(source)

Listens to the metadata events like reporting key-value pairs or file attachments during test execution.

#### Since

9.4.0

## Functions

onMetadata
Link copied to clipboard
@Incubating
abstract fun onMetadata(testDescriptor: TestDescriptor, metadataEvent: TestMetadataEvent)
Fired when during test execution anything is printed to standard output or error