Skip to content

Allure2 lacks onConfigurationFailure() #135

Closed

Description

@dimkin-eu

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

On configuration failure no any info appears in report

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Fail test in @BeforeClass or @BeforeMethod

What is the expected behavior?

Failure causes/steps/etc will be in report

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

Better debug, having failed info back

Please tell us about your environment:

Allure version 2.3.1
Test framework testng@6.8
Allure adaptor allure-testng@2.0-BETA16
Generate report using allure-maven@2.18

Other information

Same issue fixed in Allure 1
allure-framework/allure1#313
allure-framework/allure1#314

Activity

  1. useful-devops-tools commented on Mar 6, 2018

    @useful-devops-tools

    Would this be the reason why attachments are not showing up in the allure report when a configuration fails?
    I try to attach a log file and take a screenshot if the configuration fails but I never seem to see these in the report on test failures, Do you know of any workaround for this?

  2. added a commit that references this issue on Nov 14, 2018
    d8d801b
  3. added theissue type on Jul 10, 2026
  4. removed
    pr:bugSomething isn't working
    on Jul 10, 2026
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