Suppress Konsist Test
Last updated
package com.myapp.api
/**
* Represents a simple `Book` entity.
*/
@Suppress("konsist.every api declaration has KDoc")
interface Book {
/**
* The title of the book.
*/
val title: String
val author: String
}@file:Suppress("konsist.every api declaration has KDoc")
package com.myapp.api
/**
* Represents a simple `Book` entity.
*/
interface Book {
/**
* The title of the book.
*/
val title: String
@Suppress("konsist.every api declaration has KDoc")
val author: String
}package com.api.test
class UseCaseTest : FreeSpec({
"useCase test" {
Konsist
.scopeFromProject()
.classes()
.assertTrue (testName = this.testCase.name.testName) { }
}
})package com.api.controller
@Suppress("konsist.useCase test")
class MyUseCase {
... // code
}