io.qameta.allure.kotlin.Severity.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of allure-kotlin-commons Show documentation
Show all versions of allure-kotlin-commons Show documentation
Module allure-kotlin-commons of Allure Framework.
package io.qameta.allure.kotlin
import io.qameta.allure.kotlin.util.ResultsUtils
import java.lang.annotation.Inherited
/**
* Used to set severity for tests.
*/
@MustBeDocumented
@Inherited
@Retention(AnnotationRetention.RUNTIME)
@Target(
AnnotationTarget.FUNCTION,
AnnotationTarget.PROPERTY_GETTER,
AnnotationTarget.PROPERTY_SETTER,
AnnotationTarget.ANNOTATION_CLASS,
AnnotationTarget.CLASS
)
@LabelAnnotation(name = ResultsUtils.SEVERITY_LABEL_NAME)
annotation class Severity(val value: SeverityLevel)