For AI agents: the documentation index is at
https://docs.gradle.org/llms.txt
. Request any page with the header
Accept: text/markdown
to get Markdown. User manual pages are also available as Markdown by replacing
.html
with
.md
in the URL.
gradle
Toggle table of contents
9.9.1
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.api.tasks.testing
/
GroupTestEventReporter
Group
Test
Event
Reporter
API
@
Incubating
interface
GroupTestEventReporter
:
TestEventReporter
(
source
)
Reports test events, and child test event reporters.
Since
8.12
Members
Functions
close
Link copied to clipboard
API
abstract
fun
close
(
)
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.
metadata
Link copied to clipboard
API
abstract
fun
metadata
(
logTime
:
Instant
,
values
:
Map
<
String
,
String
>
)
abstract
fun
metadata
(
logTime
:
Instant
,
key
:
String
,
value
:
String
)
Emit an event containing metadata about the test or test group currently being run.
output
Link copied to clipboard
API
abstract
fun
output
(
logTime
:
Instant
,
destination
:
TestOutputEvent.Destination
,
output
:
String
)
Emit an output event for the test.
report
Test
Link copied to clipboard
API
abstract
fun
reportTest
(
name
:
String
,
displayName
:
String
)
:
TestEventReporter
Create a child 'test' test event reporter.
report
Test
Group
Link copied to clipboard
API
abstract
fun
reportTestGroup
(
name
:
String
)
:
GroupTestEventReporter
Create a child group test event reporter.
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.