TegralControllerTest

abstract class TegralControllerTest<TSubject : Any>(subjectClass: KClass<TSubject>, baseModule: InjectableModule) : TegralAbstractSubjectTest<TSubject, ControllerTestContext>

A subject-based test for Controllers-based classes (more specifically, for subclasses of KtorModule and KtorController).

The constructors follow the same pattern as TegralSubjectTest

Constructors

Link copied to clipboard
fun <TSubject : Any> TegralControllerTest(subjectClass: KClass<TSubject>, baseModuleBuilder: ContextBuilderDsl.() -> Unit)
Link copied to clipboard
fun <TSubject : Any> TegralControllerTest(constructor: KFunction<TSubject>)
Link copied to clipboard
fun <TSubject : Any> TegralControllerTest(subjectClass: KClass<TSubject>, baseModule: InjectableModule)