BaseTestGenerator
A test generator. Configures test generation, and can override generateTests to generate tests using the DSL.
Inheritors
Properties
Additional methods to add to generated test classes.
Whether to clean the root of the generated tests before generating. Defaults to true.
A CompilerPluginRegistrar to register the compiler plugin. Defaults to the plugin registrar specified in the Gradle plugin.
Whether to disable autogeneration. Defaults to false. If true, override generateTests or else no tests will be generated.
The root of the test data. Autoconfigured by the Gradle plugin.
The root of the generated tests. Autoconfigured by the Gradle plugin.
The package name of the generated tests. Defaults to the package of the test generator.
Functions
Called to adjust the compiler configuration before tests are run.
The core configuration used to set up the other options in this class. Override at your own risk. If you do not call super things will not work as expected.
The default configuration applied to all tests. Override at your own risk, but not suite as dangerous as coreConfiguration.
Override this to generate your tests.