Interface TestOutputReceiver<T extends OutputReportEntry>

Type Parameters:
T - usually TestOutputReportEntry or OutputReportEntry
All Known Subinterfaces:
TestcycleConsoleOutputReceiver, TestReportListener<T>
All Known Implementing Classes:
ClassesParallelRunListener, ConcurrentRunListener, ConfigurationAwareTestNGReporter, ConsoleOutputFileReporter, DirectConsoleOutput, ForkingRunListener, JUnit3Reporter, JUnit4RunListener, JUnitCoreRunListener, MethodsParallelRunListener, NonConcurrentRunListener, NullConsoleOutputReceiver, RunListenerAdapter, TestMethod, TestNGReporter, TestSetRunListener

public interface TestOutputReceiver<T extends OutputReportEntry>
A receiver of stdout/sterr output from running tests. This receiver knows how to associate the output with a given testset.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeTestOutput(T reportEntry)
    Forwards process output from the running test-case into the reporting system
  • Method Details

    • writeTestOutput

      void writeTestOutput(T reportEntry)
      Forwards process output from the running test-case into the reporting system
      Parameters:
      reportEntry - wraps test output with descriptive information of the output