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

TestOperationDescriptor

interface TestOperationDescriptor : OperationDescriptor

Describes a test operation for which an event has occurred.

Since
2.4

Inherited Functions

getDisplayName

abstract fun getDisplayName(): String

Returns a human consumable display name for the operation. This display name provides enough context for a human to uniquely identify the operation.

getName

abstract fun getName(): String

Returns the name of the operation. This name does not necessarily uniquely identify the operation. However, the name can be used by a human to disambiguate between the children of a given operation.

getParent

abstract fun getParent(): OperationDescriptor

Returns the parent operation, if any.

Inheritors

JvmTestOperationDescriptor

interface JvmTestOperationDescriptor : TestOperationDescriptor

Describes a test that runs on the JVM and for which an event has occurred. At least a suite name, class name, or method name is available for each JVM test.