Test generation flow¶
At a high level, generation follows a fixed pipeline per OpenAPI operation.
High-level pipeline¶
- Parse OpenAPI The engine parses and fully resolves the OpenAPI model.
- Build valid case
ValidCaseBuilderbuilds a baseline validTestCase. - Create context
TestGenerationContextis created with the OpenAPI model, operation, valid case, and helpers (example value generator, schema merger, budgets). - Run providers Providers execute in a fixed order:
- auth
- parameters
- request body
- Aggregate outcomes
Provider outcomes are merged into
Outcome<TestSuite>. Budgets and error handling determine whether the result is success, partial success, or failure. - Write artifacts
An
ArtifactGeneratoremits outputs (template-based code or JSON/YAML suites).
Outputs¶
TestSuite: operation-level container (operationNameis the stable identifier).TestCase: individual scenario (request inputs + expected status/body).GenerationReport: aggregated suites + errors + summary (success/partial/failure/not-tested).
See also: