<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-junit5</artifactId>
<version>2.16.0</version>
<scope>test</scope>
</dependency>
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import io.qameta.allure.Allure;
import io.qameta.allure.Description;
import io.qameta.allure.Step;
public class ExampleTest {
@Test
public void exampleTestMethod() {
stepOne();
stepTwo();
stepThree();
}
private void stepOne() {
// ...
}
private void stepTwo() {
// ...
}
private void stepThree() {
// ...
}
}
mvn clean test site