Package guru.zoroark.tegral.web.apptest

Types

Link copied to clipboard
open class DefaultKtorTestApplication(scope: InjectionScope) : KtorTestApplication

Implementation of KtorTestApplication for the null app name that applies defaults for the Ktor client.

Link copied to clipboard
interface IntegrationTestFeature

An installable module for integration testing.

Link copied to clipboard
abstract class KtorTestApplication(scope: InjectionScope, val appName: String?) : TegralService, ClientProvider

A component that manages KtorApplication components and provides test facilities over them.

Link copied to clipboard
object KtorTestApplicationFeature : IntegrationTestFeature

AppDefaults-equivalent feature for integration testing environment. This sets up:

Link copied to clipboard
interface MultiClientProvider : ClientProvider

A ClientProvider that can provide clients based on an application name.

Link copied to clipboard
class TegralIntegrationTestException(message: String, cause: Throwable? = null) : TegralException

An exception that occurs during an integration test, usually because of some incorrect configuration.

Link copied to clipboard
abstract class TegralWebIntegrationTest(baseSetup: WebIntegrationTestContextDsl.() -> Unit) : TegralDiBaseTest<WebIntegrationTestContext>

Test class for integration tests.

Link copied to clipboard
object TestServicesFeature : IntegrationTestFeature

Services feature specifically for integration tests. Only adds services support via useServices.

Link copied to clipboard

Context within which integration tests are run.

Link copied to clipboard

Builder for integration test environments.

Link copied to clipboard
interface WebIntegrationTestContextDsl : ExtensibleContextBuilderDsl

DSL provided for building integration test environments.