Skip to content

🐞: [JUnit5] Suite view : Epic is not included in the tree, and tests are included twiced. #1004

Description

@harmin-parra

What happened?

I have the following JUnit5 test

@Test
public void fill_in_form() {
    Allure.epic("Epic");
    Allure.story("Story");
    Allure.suite("Suite");
    Allure.feature("Feature");
    // rest of code

When I run the test and generate the test, I get this behavior:

Suite view:

  • Tests are included twice
  • Epic label is not included in the tree

Behavior view:

  • Epic is included in the tree
  • Feature appears above Story. Shouldn't be the other way ? Story above, then Feature below ?

My understanding is that Epic and Suite should appear in the Suite view, whereas Story and Feature should appear in the Behavior view.

image

image

What Allure Integration are you using?

allure-junit5

What version of Allure Integration you are using?

2.25.0

Note: 2.26.0 isn't present in Maven repo

What version of Allure Report you are using?

2.25.0

Note: 2.26.0 isn't present in Maven repo

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions