api / org.gradle.tooling.events.test / TestProgressEvent

TestProgressEvent

interface TestProgressEvent : ProgressEvent

Root interface for all events that signal progress while executing a test or test suite.

Since
2.4

Functions

getDescriptor

abstract fun getDescriptor(): TestOperationDescriptor

Returns the description of the test for which progress is reported. For JVM-based tests, the descriptor is of sub-type JvmTestOperationDescriptor.

Inherited Functions

getDisplayName

abstract fun getDisplayName(): String

Returns a human consumable short description of the event.

getEventTime

abstract fun getEventTime(): Long

Returns the time this event was triggered.

Inheritors

TestFinishEvent

interface TestFinishEvent : TestProgressEvent, FinishEvent

An event that informs about a test having finished its execution. You can query the result of the test using #getResult().

TestStartEvent

interface TestStartEvent : TestProgressEvent, StartEvent

An event that informs about a test having started its execution.