run

fun run(runner: TestGenerationRunner, config: GeneratorConfig?, overrides: TestGeneratorOverrides, applyLogLevel: (String) -> Unit = {}): TestGenerationResult

Resolves the effective log level via LogLevelResolver, applies it through applyLogLevel, and executes runner.

Parameters

runner

configured runner to execute

config

declarative configuration, typically from loadConfig (may be null)

overrides

environment-specific overrides built by the caller

applyLogLevel

invoked with the resolved log level (if any) before execution; the CLI uses it to set the Logback root logger, the Gradle plugin does not apply it (Gradle owns the logging backend inside the daemon)