TestGenerationBuilder

Properties

Link copied to clipboard
abstract val path: Path
Link copied to clipboard
abstract val pathFromRoot: Path?

Functions

Link copied to clipboard
Link copied to clipboard
fun TestGenerationBuilder.annotation(annotation: AnnotationModel)
Link copied to clipboard
Link copied to clipboard
abstract fun configure(block: TestConfigurationBuilder.() -> Unit)
Link copied to clipboard
Link copied to clipboard
fun TestGenerationBuilder.directives(vararg containers: DirectivesContainer, block: RegisteredDirectivesBuilder.() -> Unit)
Link copied to clipboard
Link copied to clipboard
abstract fun group(path: String? = null, inferPackageNames: Boolean = true, inferType: Boolean = true, block: TestGenerationBuilder.() -> Unit)
Link copied to clipboard
fun TestGenerationBuilder.group(path: String? = null, type: TestType, block: TestGenerationBuilder.() -> Unit)
fun TestGenerationBuilder.group(path: String? = null, vararg levels: TestLevel, block: TestGenerationBuilder.() -> Unit)
Link copied to clipboard
fun TestGenerationBuilder.import(vararg imports: String)
fun TestGenerationBuilder.import(vararg imports: KClass<*>)
Link copied to clipboard
fun TestGenerationBuilder.method(method: MethodModel)
Link copied to clipboard
fun TestGenerationBuilder.optIn(vararg optIns: String)
fun TestGenerationBuilder.optIn(vararg optIns: KClass<*>)
Link copied to clipboard
fun TestGenerationBuilder.optInBox(vararg optIns: KClass<*>)
Link copied to clipboard
fun TestGenerationBuilder.registerDirectives(vararg containers: DirectivesContainer)
Link copied to clipboard
Link copied to clipboard
abstract fun tests(testClassName: String? = null, customBaseClass: KClass<*>? = null, arguments: TestArguments = TestArguments())
abstract fun tests(path: String, testClassName: String? = null, customBaseClass: KClass<*>? = null, arguments: TestArguments = TestArguments())
Link copied to clipboard
fun TestGenerationBuilder.testsPackage(vararg packageNames: String)
Link copied to clipboard
fun TestGenerationBuilder.withCompilerConfiguration(configurator: CompilerConfiguration.(TestModule) -> Unit)
Link copied to clipboard