api / org.gradle.tooling / TestLauncher / withJvmTestMethods

withJvmTestMethods

abstract fun withJvmTestMethods(testClass: String, vararg methods: String): TestLauncher

Adds tests to be executed declared by class and method name.

Parameters

testClass - The name of the class containing the methods to execute.

methods - The names of the test methods to be executed.

Return
this

Since
2.7

abstract fun withJvmTestMethods(testClass: String, methods: MutableIterable<String>): TestLauncher

Adds tests to be executed declared by class and methods name.

Parameters

testClass - The name of the class containing the methods to execute.

methods - The names of the test methods to be executed.

Return
this

Since
2.7