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

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.

Since
2.4

Functions

getClassName

abstract fun getClassName(): String

Returns the name of the test class, if any.

getJvmTestKind

abstract fun getJvmTestKind(): JvmTestKind

Returns what kind of test this is.

getMethodName

abstract fun getMethodName(): String

Returns the name of the test method, if any.

getSuiteName

abstract fun getSuiteName(): String

Returns the name of the test suite, if any.