Package org.gradle.api.tasks.testing

# Interface TestMetadataEvent

All Known Subinterfaces:
  `TestFileAttachmentDataEvent`, `TestKeyValueDataEvent`

@NullMarked public interface TestMetadataEvent
Metadata captured during the execution of a test.

Since:
  9.4.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Instant`
  `getLogTime()`
  The time the message was logged.

- ## Method Details

  - ### getLogTime

    Instant getLogTime()
    The time the message was logged.

    Producers can supply the same value as the test start time to indicate that the metadata is "timeless", such as environment information that isn't tied to a specific point during test execution.

    Returns:
      log time