Module: plugin¶
plugin provides the Gradle plugin integration (art.galushko.openapi-test-generator). It registers one task (generateOpenApiTests) and wires it into the build depending on generator and manualOnly.
Depends on¶
distribution-bundle
Key types¶
OpenApiTestGeneratorPlugin: plugin entry pointOpenApiTestGeneratorTask: task implementation that delegates toTestGenerationRunnerTestGeneratorExtension: Gradle DSL entry point (openApiTestGenerator { ... })TestGenerationSettingsExtension: typed nested DSL (testGenerationSettings { ... })
Key behaviors¶
- Registers
generateOpenApiTestsin groupverification. - Supports an optional YAML config file (
configFile) and typed overrides in Gradle DSL. - Wires generation into compilation/resource processing when
manualOnlyisfalse: template: addsoutputDirto test sourcestest-suite-writer: addsoutputDirto test resources
API reference¶
- Dokka API reference:
docs/api/plugin/index.html
Related docs¶
- Reference:
- Gradle plugin reference
- Getting started:
- Gradle integration