Skip to content

Allure not showing Junit5 ignored test(these are ignored as before all method failed) #420

Closed as not planned

Description

@0107shashankgarg

Allure not showing Junit5 ignored test

[ ] bug report

What is the current behavior?

If before all the fails the subsequent test is ignored. Allure fails to capture these ignored cases and only shows the main class name as failed in reports.

What is the expected behavior?

The ignored test should be included either as failed or ignore.

What is the motivation / use case for changing the behavior?

Due to this the count of the number of tests executed by in allure is inconsistent. causing confusion.
E.g one run we have 120 cases and other we have only 100 are 20 were not captured as before all for a set of the test failed

Please tell us about your environment:

Allure version 2.13.1
Test framework junit5@2.10.0<
Allure integration junit5@2.13.1
Generate report using allure-maven@2.10.0

Other information

//: # (
Screen Shot 2020-02-17 at 8 59 57 AM

)

Activity

  1. added theissue type on Jul 10, 2026
  2. baev commented on Sep 3, 2026

    @baev
    Member

    Closing as not planned. When @BeforeAll fails, JUnit Platform does not emit execution events for the tests inside the failed container, so the adapter cannot produce accurate skipped or failed results for them—especially for parameterized and dynamic tests whose invocations do not exist yet. Creating synthetic results would distort counts and retry/history identities. Since #1391, Allure reports the @BeforeAll failure as a run-level error with the original exception and states that the tests inside did not run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions