All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qameta.allure.kotlin.Epic.kt Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package io.qameta.allure.kotlin

import io.qameta.allure.kotlin.util.ResultsUtils
import java.lang.annotation.Inherited

/**
 * Used to mark tests with epic label.
 */
@MustBeDocumented
@Inherited
@Retention(AnnotationRetention.RUNTIME)
@Target(
    AnnotationTarget.FUNCTION,
    AnnotationTarget.PROPERTY_GETTER,
    AnnotationTarget.PROPERTY_SETTER,
    AnnotationTarget.ANNOTATION_CLASS,
    AnnotationTarget.CLASS
)
/**
 * Due do compatibility with Java 1.6, Kotlin doesn't support repeatable annotations.
 * This annotation is still required in here, because of generic parsing of annotation containers
 * @see [AnnotationUtils.extractRepeatable]
 */
@Repeatable
@LabelAnnotation(name = ResultsUtils.EPIC_LABEL_NAME)
annotation class Epic(val value: String)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy