hi! I have a test here to confirm the architecture...
# konsist
k
hi! I have a test here to confirm the architecture is hexagonal and it fails since the tests depend on the input adapter layer, is there a way to filter out tests from being part of the architectural test? im using the latest version btw
Copy code
@Test
    fun `hexagonal layers are in correct packages`() {
        Konsist
            .scopeFromProject() // Define the scope containing all Kotlin files present in project
            .assertArchitecture { // Assert architecture
                // Define layers
                val domain = Layer("Domain", "com.foo.domain..")
                val inputAdapter = Layer("InputAdapter", "com.foo.framework.input..")

                // Define architecture assertions
                domain.dependsOnNothing()
                // the below line fails due to tests in being dependent on the inputAdapter layer
                inputAdapter.dependsOnNothing()
            }
    }