For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

useKotlinTest

abstract fun useKotlinTest()(source)

Use the kotlin.test testing framework.

Gradle will provide the version of kotlin.test to use. Defaults to version 2.4.21

Since

7.3


abstract fun useKotlinTest(version: String)(source)

Use the kotlin.test testing framework with a specific version.

Since

7.3

Parameters

version

the version of kotlin.test to use


abstract fun useKotlinTest(version: Provider<String>)(source)

Use the kotlin.test testing framework with a specific version.

Since

7.6

Parameters

version

provider supplying the version of kotlin.test to use