Ren茅's URL Explorer Experiment


Title: 馃悶: Old test results persist across cached executions when test name or metadata changes 路 Issue #1178 路 allure-framework/allure-java 路 GitHub

Open Graph Title: 馃悶: Old test results persist across cached executions when test name or metadata changes 路 Issue #1178 路 allure-framework/allure-java

X Title: 馃悶: Old test results persist across cached executions when test name or metadata changes 路 Issue #1178 路 allure-framework/allure-java

Description: Summary We鈥檝e encountered an issue when running tests using the Allure Java adapter in environments where test execution uses some form of caching (e.g., Maven build cache with Github caching). Problem When a test is executed and results...

Open Graph Description: Summary We鈥檝e encountered an issue when running tests using the Allure Java adapter in environments where test execution uses some form of caching (e.g., Maven build cache with Github caching). Pro...

X Description: Summary We鈥檝e encountered an issue when running tests using the Allure Java adapter in environments where test execution uses some form of caching (e.g., Maven build cache with Github caching). Pro...

Opengraph URL: https://github.com/allure-framework/allure-java/issues/1178

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"馃悶: Old test results persist across cached executions when test name or metadata changes","articleBody":"## Summary\n\nWe鈥檝e encountered an issue when running tests using the Allure Java adapter in environments where test execution uses some form of caching (e.g., Maven build cache with Github caching).\n\n## Problem\n\nWhen a test is executed and results are generated, and a **subsequent execution modifies the test name, title, or metadata**, but reuses the previous cache, the **old results are not fully cleaned** from the output folder. \n\nAs a result, stale or duplicated test results may appear in the Allure report or be sent to Tesults or similar tools.\n\n## Steps to Reproduce\n\n1. Run a test suite with a test named `TestExampleA`, generating Allure results.\n2. Modify the test code: rename the test to `TestExampleRenamed` or change metadata (e.g., severity, description, etc.).\n3. Re-run the test suite **without clearing the results folder manually**, using cached test output.\n4. Observe that results from both `TestExampleA` and `TestExampleRenamed` appear in the output.\n\n## Expected Behavior\n\nThe `allure-results` or Tesults result folder should be **cleaned automatically** before writing new test results, to avoid outdated or duplicate entries.\n\n## 馃挕 Suggestion: Add a `clean` option similar to `--clean-alluredir` in pytest\n\nIn the Allure Pytest integration, there's a very helpful `--clean-alluredir` option that clears the results directory before test execution starts ([docs reference](https://allurereport.org/es/docs/pytest-configuration/#clean-alluredir)).\n\nWe suggest implementing a similar mechanism in the Java integration (e.g., `allure-java-commons`), to allow users to automatically clean the results folder (`allure-results`, Tesults folder, etc.) before writing new data.\n\n---\n\n### What Allure Integration are you using?\n\nallure-java-commons\n\n### What version of Allure Integration you are using?\n\n2.26.0\n\n### What version of Allure Report you are using?\n\n2.12.0\n\n### Code of Conduct\n\n- [x] I agree to follow this project's Code of Conduct","author":{"url":"https://github.com/alexfernandezv","@type":"Person","name":"alexfernandezv"},"datePublished":"2025-07-14T12:48:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1178/allure-java/issues/1178"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1fe3e949-daed-26cb-d506-a9196e249d4e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAB68:5ED86:2A2927:3B643B:696E51D9
html-safe-nonce86e0dded27f6bf1f58c157016e25d2e1f50dfd08b21c512437412b820a32878e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjY4OjVFRDg2OjJBMjkyNzozQjY0M0I6Njk2RTUxRDkiLCJ2aXNpdG9yX2lkIjoiNzU5MzU4ODA5NzYyMjYyNjc3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacaf6b649050a4bb2afbbebeffb0c5ae65f2a5a529096aef50d54a23acb37d4c10
hovercard-subject-tagissue:3228662890
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/allure-framework/allure-java/1178/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b0858b2d124a9b6d8764c154387065a6127aca0dc283f3fcfb9f294349bbb347/allure-framework/allure-java/issues/1178
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b0858b2d124a9b6d8764c154387065a6127aca0dc283f3fcfb9f294349bbb347/allure-framework/allure-java/issues/1178
og:image:altSummary We鈥檝e encountered an issue when running tests using the Allure Java adapter in environments where test execution uses some form of caching (e.g., Maven build cache with Github caching). Pro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexfernandezv
hostnamegithub.com
expected-hostnamegithub.com
Nonefd6f183b765d548d18ed5f3a1ce2c0e2a4ddbde2c74596c9d55c1a08b3e5572a
turbo-cache-controlno-preview
go-importgithub.com/allure-framework/allure-java git https://github.com/allure-framework/allure-java.git
octolytics-dimension-user_id5879127
octolytics-dimension-user_loginallure-framework
octolytics-dimension-repository_id80822758
octolytics-dimension-repository_nwoallure-framework/allure-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id80822758
octolytics-dimension-repository_network_root_nwoallure-framework/allure-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea52ed9988fadfee5477eba0f6835cc823d7d8b33
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1178#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fallure-framework%2Fallure-java%2Fissues%2F1178
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fallure-framework%2Fallure-java%2Fissues%2F1178
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=allure-framework%2Fallure-java
Reloadhttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1178
Reloadhttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1178
Reloadhttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1178
allure-framework https://patch-diff.githubusercontent.com/allure-framework
allure-javahttps://patch-diff.githubusercontent.com/allure-framework/allure-java
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fallure-framework%2Fallure-java
Fork 238 https://patch-diff.githubusercontent.com/login?return_to=%2Fallure-framework%2Fallure-java
Star 370 https://patch-diff.githubusercontent.com/login?return_to=%2Fallure-framework%2Fallure-java
Code https://patch-diff.githubusercontent.com/allure-framework/allure-java
Issues 96 https://patch-diff.githubusercontent.com/allure-framework/allure-java/issues
Pull requests 24 https://patch-diff.githubusercontent.com/allure-framework/allure-java/pulls
Actions https://patch-diff.githubusercontent.com/allure-framework/allure-java/actions
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/allure-framework/allure-java/security
Please reload this pagehttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1178
Insights https://patch-diff.githubusercontent.com/allure-framework/allure-java/pulse
Code https://patch-diff.githubusercontent.com/allure-framework/allure-java
Issues https://patch-diff.githubusercontent.com/allure-framework/allure-java/issues
Pull requests https://patch-diff.githubusercontent.com/allure-framework/allure-java/pulls
Actions https://patch-diff.githubusercontent.com/allure-framework/allure-java/actions
Security https://patch-diff.githubusercontent.com/allure-framework/allure-java/security
Insights https://patch-diff.githubusercontent.com/allure-framework/allure-java/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/allure-framework/allure-java/issues/1178
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/allure-framework/allure-java/issues/1178
馃悶: Old test results persist across cached executions when test name or metadata changeshttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1178#top
triagehttps://github.com/allure-framework/allure-java/issues?q=state%3Aopen%20label%3A%22triage%22
type:bugSomething isn't workinghttps://github.com/allure-framework/allure-java/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
https://github.com/alexfernandezv
https://github.com/alexfernandezv
alexfernandezvhttps://github.com/alexfernandezv
on Jul 14, 2025https://github.com/allure-framework/allure-java/issues/1178#issue-3228662890
docs referencehttps://allurereport.org/es/docs/pytest-configuration/#clean-alluredir
triagehttps://github.com/allure-framework/allure-java/issues?q=state%3Aopen%20label%3A%22triage%22
type:bugSomething isn't workinghttps://github.com/allure-framework/allure-java/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.