TestOutputListener (Gradle API 9.5.0)
Description: declaration: package: org.gradle.api.tasks.testing, interface: TestOutputListener

Package org.gradle.api.tasks.testing

# Interface TestOutputListener

public interface TestOutputListener
Listens to the output events like printing to standard output or error

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onOutput(TestDescriptor testDescriptor, TestOutputEvent outputEvent)`
  Fired when during test execution anything is printed to standard output or error

- ## Method Details

  - ### onOutput

    void onOutput(TestDescriptor testDescriptor, TestOutputEvent outputEvent)
    Fired when during test execution anything is printed to standard output or error
    Parameters:
      `testDescriptor` - describes the test
      `outputEvent` - the event that contains the output message and the destination (standard output or error, etc.)