ExcuseMySpec

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class ExcuseMySpec(val reason: Reason)

Spec API usage in Kotlin is deprecated and new Specs will be generally treated as errors. But there are certain cases when Specs in Kotlin should be allowed. This annotation is used to mark such usecases and suppress the linter, an explicit reason is required.

Properties

Link copied to clipboard