Skip to content

Getting Started

Testbench makes it easy to define custom plugins and include them when running the desktop app.

Installation

Add the plugin-toolkit Gradle plugin and configure custom plugins in settings.gradle.kts:

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

testbench {
  includePlugin(":plugins:my-plugin") {
    // optional: Create multiple client implementation variations
    clientVariations("ktor", "okhttp", "fuel")
    // optional: Create only a desktop module without client or core modules
    desktopOnly()
  }
}

Next Steps

For next steps, see Plugin Basics.