TestGenerationExecution
object TestGenerationExecution
Shared CLI/Gradle execution flow: load the optional config file, resolve and apply the effective log level, then execute test generation.
Callers load the config first (they typically need it to build their TestGeneratorOverrides), then hand both to run:
val config = TestGenerationExecution.loadConfig(configPath)
val overrides = buildOverrides(config)
val result = TestGenerationExecution.run(runner, config, overrides)Content copied to clipboard
Functions
Link copied to clipboard
Loads the YAML generator config, or returns null when configFile is null.
Link copied to clipboard
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.