TestGenerationConfigBuilder

Configuration options for the test class generator.

Functions

Link copied to clipboard
abstract fun addLevel(level: TestLevel)

Adds a test level to the generated tests.

Link copied to clipboard
abstract fun annotation(annotation: AnnotationModel)

Adds annotations to the generated test classes.

Link copied to clipboard
abstract fun method(method: MethodModel)

Adds methods to the generated test classes.

Link copied to clipboard
abstract fun removeLevel(level: TestLevel)

Removes a test level from the generated tests.

Link copied to clipboard
abstract fun testsPackage(vararg packageNames: String)

Adds to the package name of generated test classes.