create Test Event Reporter
open fun createTestEventReporter(rootName: String, binaryResultsDirectory: Directory, htmlReportDirectory: Directory): GroupTestEventReporter(source)
Returns an object that can be used to report test events with the default behavior of failing the test task if there are test failures.
Return
the test event reporter
Since
8.13
Parameters
root Name
the name for the root node of the test tree
binary Results Directory
the directory to write binary test results to
html Report Directory
the directory to write HTML test reports to
abstract fun createTestEventReporter(rootName: String, binaryResultsDirectory: Directory, htmlReportDirectory: Directory, closeThrowsOnTestFailures: Boolean): GroupTestEventReporter(source)
Returns an object that can be used to report test events.
Return
the test event reporter
Since
9.3.0
Parameters
root Name
the name for the root node of the test tree
binary Results Directory
the directory to write binary test results to
html Report Directory
the directory to write HTML test reports to
close Throws On Test Failures
determines if this reporter should throw upon close if the root node has been failed, or do nothing