allure-framework / allure-framework/allure2

How to show total Fail & Pass count with respect to TestClasses instead of @Test methods in Allure Report Overview section

Open
#1,180 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
5.5k
Forks
782
Avg merge
2d 33m
Merged PRs (30d)
16

Description

**Show total Test Fail & Pass count with respect to TestClasses executed instead of @Test methods of TestClasses**
Requirement is to print total Pass and Fail count with respect to TestClasses in Allure Report
For eg: When I run 10 TestClasses each having 4 @Test methods, if in 1st TestClass 2 @Test methods failed and in 2nd TestClass 3 @Test method failed, then I should see "Fail = 2" and "Pass = 8" counting total failed and passed TestClasses (if in a TestClass, any @Test method fails, we are considering it as the complete TestClass failure)

As in current report, we can see total pass and fail count with respect to @Test methods, and our need is to display the fail and pass count in terms of TestClasses

Contributor guide

Open the contributing guide

Research direction

Start in the Allure Report Overview section and trace how Pass and Fail totals are derived from executed TestClasses and their @Test methods. Confirm the existing aggregation behavior, then define completion as showing one result per TestClass: a class fails if any method fails, with the Overview totals matching that rule.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.