Skip to content

Getting Started

Installation

Include the Desktop application plugin in your root build.gradle.kts:

Configure Gradle Plugin

plugins {
  id("org.drewcarlson.testbench") version "0.0.8-SNAPSHOT"
}

Optional plugin configuration:

testbench {
  // ...
}

Configure Runtime Client

Add the client and plugins to your build.gradle.kts:

dependencies {
  implementation(TestbenchDeps.clientCore)
  implementation(TestbenchDeps.clientNetworkKtor)
}

val client = TestBenchClient(
  plugins = listOf(MyPlugin())
)

Run Testbench

Launch the desktop app with the runTestbench task.

./gradlew runTestbench

You should see an idle testbench window: