TestParameter

data class TestParameter(val name: String, val type: KClass<*>, val isNullable: Boolean = false, val annotations: List<Annotation> = emptyList())

Represents a parameter for a test method.

Constructors

Link copied to clipboard
constructor(name: String, type: KClass<*>, isNullable: Boolean = false, annotations: List<Annotation> = emptyList())

Properties

Link copied to clipboard

The annotations associated with the parameter.

Link copied to clipboard
val isNullable: Boolean = false

Whether the parameter is nullable.

Link copied to clipboard

The name of the parameter.

Link copied to clipboard
val type: KClass<*>

The type of the parameter.