kotest-core / io.kotest.core.engine / DiscoveryRequest

DiscoveryRequest

data class DiscoveryRequest

DiscoveryRequest describes how to discover test classes.

Parameters

uris - a list of uris to act as a classpath roots to search

classNames - if specified then these classnames will be used instead of searching

filters - list of predicates to filter the detected classes

Constructors

<init>

DiscoveryRequest describes how to discover test classes.

DiscoveryRequest(uris: List<URI> = emptyList(), classNames: List<String> = emptyList(), filters: List<DiscoveryFilter> = emptyList(), allowInternal: Boolean = false)

Properties

allowInternal

val allowInternal: Boolean

classNames

if specified then these classnames will be used instead of searching

val classNames: List<String>

filters

list of predicates to filter the detected classes

val filters: List<DiscoveryFilter>

uris

a list of uris to act as a classpath roots to search

val uris: List<URI>