kotest-runner-junit5 / io.kotest.runner.junit.platform / kotlin.reflect.KClass

Extensions for kotlin.reflect.KClass

descriptor

Creates a new spec-level TestDescriptor from the given class, appending it to the parent TestDescriptor. The created descriptor will have segment type Segment.Spec.

fun KClass<out Spec>.descriptor(parent: TestDescriptor): TestDescriptor