Understanding output¶
The output depends on the selected generator (template or test-suite-writer).
Template generator (template)¶
- Produces source files (Java or Kotlin) under your configured
outputDir. - Template sets are under
generator-template/src/main/resources/templates/. - Common template variables:
package: optional package declarationbaseUrl: used by built-in RestAssured templates
See: Template generator
Test-suite-writer generator (test-suite-writer)¶
- Produces JSON or YAML containing
TestSuiteandTestCasestructures. - By default, aggregates all suites into a single file (
outputMode=SINGLE_FILE).
See:
Valid case inclusion¶
By default, suites include only negative test cases (expecting 4xx responses). To include a baseline positive test per operation, enable testGenerationSettings.includeValidCase.
See: Include positive test cases and Distribution settings → Output options