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 standardStreams)

Deprecated for naming consistency reasons, please use setShowStandardStreams(boolean)

TestLogging setShowStandardStreams(boolean standardStreams)

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

@Deprecated
public TestLogging setShowStandardStream(boolean standardStreams)
Deprecated for naming consistency reasons, please use setShowStandardStreams(boolean)
deprecated:
@param standardStreams to configure
Returns:
this logging instance


setShowStandardStreams

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


 

Groovy Documentation