TegralWebIntegrationTest

abstract class TegralWebIntegrationTest(baseSetup: WebIntegrationTestContextDsl.() -> Unit) : TegralDiBaseTest<WebIntegrationTestContext>

Test class for integration tests.

Integration tests provide a lightweight feature-based environment to run (portions of) applications.

This is comparable to a TegralControllerTest on steroids.

Constructors

Link copied to clipboard
fun TegralWebIntegrationTest(baseSetup: WebIntegrationTestContextDsl.() -> Unit)

Functions

Link copied to clipboard
open fun WebIntegrationTestContextDsl.setupDefaults()

Installs default features (most notably TestServicesFeature and KtorTestApplicationFeature). Can be overridden if you want to change the defaults -- otherwise, adding components should be done via the baseSetup parameter in the TegralWebIntegrationTest constructor.