Groovy Documentation

org.gradle.api.tasks.testing
[Java] Interface TestLogging


public interface TestLogging

Configures logging of the test execution, e.g. whether the std err / out should be eagerly shown


Method Summary
boolean getShowStandardStreams()

Whether to show eagerly the standard stream events.

TestLogging setShowStandardStream(boolean standardStream)

Whether to show eagerly the standard stream events.

 

Method Detail

getShowStandardStreams

public boolean getShowStandardStreams()
Whether to show eagerly the standard stream events. Standard output is printed at INFO level, standard error at ERROR level.


setShowStandardStream

public TestLogging setShowStandardStream(boolean standardStream)
Whether to show eagerly the standard stream events. Standard output is printed at INFO level, standard error at ERROR level.
Parameters:
standardStream - to configure
Returns:
this logging instance


 

Groovy Documentation