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.

useJUnitJupiter

abstract fun useJUnitJupiter()(source)

Use the JUnit Jupiter testing framework.

Gradle will provide the version of JUnit Jupiter to use. Defaults to version 5.12.2

Since

7.3


abstract fun useJUnitJupiter(version: String)(source)

Use the JUnit Jupiter testing framework with a specific version.

Since

7.3

Parameters

version

version of JUnit Jupiter to use


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

Use the JUnit Jupiter testing framework with a specific version.

Since

7.6

Parameters

version

provider supplying the version of JUnit Jupiter to use