KoArchitectureAssertion

An interface for asserting a KoArchitecture with its associated dependencies and configurations.

Inheritors

Functions

Link copied to clipboard
abstract fun architecture(layerDependenciesFunc: LayerDependencies.() -> Unit): LayerDependencies

Creates and returns a LayerDependencies instance representing the configured dependencies of the architecture, defined as a function literal with receiver LayerDependencies.

Link copied to clipboard
abstract fun KoScope.assertArchitecture(layerDependenciesFunc: LayerDependencies)
abstract fun List<KoFileDeclaration>.assertArchitecture(layerDependenciesFunc: LayerDependencies)
abstract fun KoScope.assertArchitecture(additionalMessage: String? = null, testName: String? = null, layerDependenciesFunc: LayerDependencies)
abstract fun List<KoFileDeclaration>.assertArchitecture(additionalMessage: String? = null, testName: String? = null, layerDependenciesFunc: LayerDependencies)

Asserts the architecture with the specified layerDependenciesFunc.

abstract fun KoScope.assertArchitecture(layerDependenciesFunc: LayerDependencies.() -> Unit)
abstract fun List<KoFileDeclaration>.assertArchitecture(layerDependenciesFunc: LayerDependencies.() -> Unit)
abstract fun KoScope.assertArchitecture(additionalMessage: String? = null, testName: String? = null, layerDependenciesFunc: LayerDependencies.() -> Unit)
abstract fun List<KoFileDeclaration>.assertArchitecture(additionalMessage: String? = null, testName: String? = null, layerDependenciesFunc: LayerDependencies.() -> Unit)

Asserts the architecture with the specified layerDependenciesFunc defined as a function literal with receiver LayerDependencies.