com.github.aoreshin.junit5.extensions.allure.AllureLabelExtension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of allure-junit5-extensions Show documentation
Show all versions of allure-junit5-extensions Show documentation
Project to ease pain of test automation
package com.github.aoreshin.junit5.extensions.allure;
import io.qameta.allure.Allure;
import io.qameta.allure.model.Label;
import java.util.List;
import org.junit.jupiter.api.extension.BeforeEachCallback;
import org.junit.jupiter.api.extension.ExtensionContext;
/**
* Extension that is used to programmatically add Labels to Allure report. To be used with
* com.github.aoreshin.junit5.extensions.TestTemplateInvocationContextBuilder
*/
public class AllureLabelExtension implements BeforeEachCallback {
private final List