Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix allure history and trends generation #1800

Merged
merged 2 commits into from
Nov 10, 2024

Conversation

MohabMohie
Copy link
Contributor

-allure.accumulateHistory=true
will now behave as expected, saving execution history and showing relevant trends to help identify flaky tests.

-allure.accumulateReports=true
will now be more relevant, as the report will hold details of the current test run only; previous run details will no longer show in the retries tab.

-allure.accumulateHistory=true
will now behave as expected, saving execution history and showing relevant trends to help identify flaky tests.

-allure.accumulateReports=true
will now be more relevant, as the report will hold details of the current test run only; previous run details will no longer show in the retries tab.
@MohabMohie MohabMohie requested a review from AhmdZanoon November 8, 2024 22:59
@MohabMohie MohabMohie linked an issue Nov 8, 2024 that may be closed by this pull request
Copy link

codecov bot commented Nov 8, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 14 lines in your changes missing coverage. Please review.

Project coverage is 52.46%. Comparing base (f49346a) to head (9e885b3).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ava/com/shaft/tools/io/internal/AllureManager.java 53.84% 7 Missing and 5 partials ⚠️
...ain/java/com/shaft/properties/internal/Allure.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1800      +/-   ##
============================================
- Coverage     53.79%   52.46%   -1.33%     
+ Complexity     1388     1351      -37     
============================================
  Files           115      115              
  Lines         10303    10322      +19     
  Branches        993      996       +3     
============================================
- Hits           5542     5415     -127     
- Misses         4120     4270     +150     
+ Partials        641      637       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@AhmdZanoon AhmdZanoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice and clean implementation as usual.
thanks @MohabMohie for your time and effort 😊

@AhmdZanoon AhmdZanoon merged commit 0a08dd3 into main Nov 10, 2024
16 of 18 checks passed
@AhmdZanoon AhmdZanoon deleted the fix-allure-history-and-trends branch November 10, 2024 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix execution history to show under history tab and not retries
2 participants