allure-framework / allure-framework/allure2
When @beforeClass fails, output is seen at TestMethod output, not BeforeClass
- Dominant language
- HTML
- Stars
- 5.5k
- Forks
- 782
- Avg merge
- 2d 33m
- Merged PRs (30d)
- 16
Description
**Is your feature request related to a problem? Please describe.**
Yep, the problem occurs when there is faillure in @beforeClass method.
We expect to have screenshot and logs attached to bookmark beforeMethod. But I have to go to failed test method, and in it find before class, where I'm able to see this output.
**Describe the solution you'd like**
As described above, would like to see outoput of @beforeMethod and etc. when there is failure, directly in item beforeMethod in report. Not in following test method.
**Describe alternatives you've considered**
It's usable as this, but it's confusing.
**Additional context**
Add any other context or screenshots about the feature request here.


Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by reproducing a failing @beforeClass case and trace how its screenshots and logs are attached in the report; done means those outputs appear directly under the failing lifecycle item rather than under the following test method.
Written by the indexing model from the issue text.
Assessment
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100