Display Name and Description in Allure Report

Profile picture for user arilio666

This article will show how to add a human-readable display name and description for tests. To add a human-readable name to any test method @DisplayName annotation can be used.

For a detailed description of each method, @Description annotation can be used.

@DisplayName("Resolution Test")
@Description("Dynamically fetch the resolution using toolkit and passes into the viewport")
@Test
public void alluPlay() 
{

}
  • This way, we can add any name and description based on the test.