TegralWebIntegrationTest
abstract class TegralWebIntegrationTest(baseSetup: WebIntegrationTestContextDsl.() -> Unit) : TegralDiBaseTest<WebIntegrationTestContext>
Content copied to clipboard
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)
Content copied to clipboard
Functions
Link copied to clipboard
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.