toggle menu
gradle
8.12
API
switch theme
search in API
gradle
/
org.gradle.api.tasks.testing
/
TestEventReporter
Test
Event
Reporter
API
@
Incubating
interface
TestEventReporter
:
AutoCloseable
(
source
)
Reports test events.
Since
8.12
Inheritors
GroupTestEventReporter
Members
Functions
close
Link copied to clipboard
API
abstract
fun
close
(
)
Close the generator.
failed
Link copied to clipboard
API
open
fun
failed
(
endTime
:
Instant
)
open
fun
failed
(
endTime
:
Instant
,
message
:
String
)
abstract
fun
failed
(
endTime
:
Instant
,
message
:
String
,
additionalContent
:
String
)
Emit a failure event for the test.
output
Link copied to clipboard
API
abstract
fun
output
(
logTime
:
Instant
,
destination
:
TestOutputEvent.Destination
,
output
:
String
)
Emit an output event for the test.
skipped
Link copied to clipboard
API
abstract
fun
skipped
(
endTime
:
Instant
)
Emit a skipped event for the test.
started
Link copied to clipboard
API
abstract
fun
started
(
startTime
:
Instant
)
Emit a start event for the test.
succeeded
Link copied to clipboard
API
abstract
fun
succeeded
(
endTime
:
Instant
)
Emit a successful completion event for the test.