Middle
What do you usually include in an Allure report?
sobes.tech AI
Answer from AI
The Allure report typically includes:
- Test results with status indicators (passed, failed, skipped)
- Screenshots and logs to facilitate error diagnosis
- Launch history to track trends
- Test structure with navigation through suites and test cases
- Attachments with additional artifacts (e.g., videos or dumps)
Example of usage in a Java test with JUnit and Allure:
import io.qameta.allure.Description;
import org.junit.jupiter.api.Test;
public class SampleTest {
@Test
@Description("Successful login check")
public void loginTest() {
// test steps
}
}