testDirConnection

open override fun testDirConnection(action: Action<in Service.DirectoryConnection>)

Overrides the way the generated test builders are connected. Use this if you want to connect the generated test builders to another task than the default destination.

By default, the generated sources are connected to:

  • test sourceSet for Kotlin projects

  • commonTest sourceSet for Kotlin multiplatform projects

  • test and androidTest variants for Android projects