TestGenerationSettings

data class TestGenerationSettings(val ignoreTestCases: Map<String, Any> = emptyMap(), val ignoreSchemaValidationRules: Set<String> = emptySet(), val ignoreAuthValidationRules: Set<String> = emptySet(), val maxSchemaDepth: Int = DEFAULT_MAX_SCHEMA_DEPTH, val overrideBasicTestData: Map<String, String> = emptyMap(), val maxMergedSchemaDepth: Int = DEFAULT_MAX_MERGED_SCHEMA_DEPTH, val maxSchemaCombinations: Int = DEFAULT_MAX_SCHEMA_COMBINATIONS, val maxTestCasesPerOperation: Int = DEFAULT_MAX_TEST_CASES_PER_OPERATION, val validSecurityValues: Map<String, String> = emptyMap(), val errorMode: ErrorMode = ErrorMode.COLLECT_ALL, val maxErrors: Int = DEFAULT_MAX_ERRORS, val exampleValues: ExampleValueSettings = ExampleValueSettings())

Typed settings for test case generation behavior.

Inputs: these settings are typically resolved from YAML config and CLI/Gradle overrides via TestGeneratorExecutionOptionsFactory.fromConfig. Validation: numeric budgets must be positive and ignore config must be structurally valid. Determinism: ordering-sensitive settings (ignore lists, provider order) are preserved as provided.

Constructors

Link copied to clipboard
constructor(ignoreTestCases: Map<String, Any> = emptyMap(), ignoreSchemaValidationRules: Set<String> = emptySet(), ignoreAuthValidationRules: Set<String> = emptySet(), maxSchemaDepth: Int = DEFAULT_MAX_SCHEMA_DEPTH, overrideBasicTestData: Map<String, String> = emptyMap(), maxMergedSchemaDepth: Int = DEFAULT_MAX_MERGED_SCHEMA_DEPTH, maxSchemaCombinations: Int = DEFAULT_MAX_SCHEMA_COMBINATIONS, maxTestCasesPerOperation: Int = DEFAULT_MAX_TEST_CASES_PER_OPERATION, validSecurityValues: Map<String, String> = emptyMap(), errorMode: ErrorMode = ErrorMode.COLLECT_ALL, maxErrors: Int = DEFAULT_MAX_ERRORS, exampleValues: ExampleValueSettings = ExampleValueSettings())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

error mode for test generation

Link copied to clipboard

configuration for schema-derived example value generation

Link copied to clipboard

set of auth rule class names to ignore

Link copied to clipboard

set of schema rule class names to ignore

Link copied to clipboard

map of ignore rules keyed by path/method/test case

Link copied to clipboard

maximum number of errors to collect before test generation fails

Link copied to clipboard

maximum depth used when merging composed schemas (allOf/anyOf/oneOf)

Link copied to clipboard

maximum schema combinations per parameter/property

Link copied to clipboard

maximum depth of schema validation

Link copied to clipboard

maximum test cases generated per operation

Link copied to clipboard

a map of security scheme names to their valid values