TestGenerationRunner

Main entry point for test generation execution.

Encapsulates the common execution flow shared between CLI and Gradle plugin:

  1. Create execution options by merging config and overrides

  2. Extract module settings (e.g., pattern generation options)

  3. Create modules with extracted settings

  4. Generate test report via TestGenerationEngine

  5. Write test artifacts if successful or alwaysWriteTests is enabled

Use Builder for custom configuration or withDefaults for standard distribution setup.

Types

Link copied to clipboard
class Builder

Builder for constructing TestGenerationRunner with custom configuration.

Link copied to clipboard
object Companion
Link copied to clipboard
fun interface ModuleFactory

Factory interface for creating modules with resolved settings.

Functions

Link copied to clipboard

Executes test generation with the provided configuration and overrides.