René's URL Explorer Experiment


Title: Fix missing failure details for strict XPASS in allure-pytest by nonatomiclabs · Pull Request #933 · allure-framework/allure-python · GitHub

Open Graph Title: Fix missing failure details for strict XPASS in allure-pytest by nonatomiclabs · Pull Request #933 · allure-framework/allure-python

X Title: Fix missing failure details for strict XPASS in allure-pytest by nonatomiclabs · Pull Request #933 · allure-framework/allure-python

Description: Context Pytest’s xfail marker identifies tests that are expected to fail, for instance because of a known bug. Pytest supports a "strict" xfail mode through @pytest.mark.xfail(strict=True) or the xfail_strict configuration option. In this mode, an unexpectedly passing test (XPASS) is treated as a failure. This is useful to ensure that xfail markers are removed when a bug is fixed. Currently, allure-pytest reports these tests as Failed, but provides no failure details, leaving out both the strict XPASS indication and the xfail reason. This PR populates the failure details with pytest’s [XPASS(strict)] message, including the reason when present. This follows the approach already used in allure-pytest-bdd (see the code and the "Xfail support" section in #845). Regression tests cover explicit and configured strict mode, with and without a reason, and verify that existing XFAIL and ordinary failure reporting remain unchanged. Checklist Sign Allure CLA Provide unit tests Verification The new unit tests pass: $ PYTEST_DISABLE_PLUGIN_AUTOLOAD=true python3 -m pytest tests/allure_pytest/acceptance/status/xfail_call_status_test.py -q ........... [100%] 11 passed in 0.28s I created a small project and we can see that the new behavior works as intended: before: after:

Open Graph Description: Context Pytest’s xfail marker identifies tests that are expected to fail, for instance because of a known bug. Pytest supports a "strict" xfail mode through @pytest.mark.xfail(strict=True...

X Description: Context Pytest’s xfail marker identifies tests that are expected to fail, for instance because of a known bug. Pytest supports a "strict" xfail mode through @pytest.mark.xfail(str...

Opengraph URL: https://github.com/allure-framework/allure-python/pull/933

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0b3e3991-cf73-045c-1f30-7a0c002e0246
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD1C4:40779:113E78:18911F:6AFD4D37
html-safe-nonce978c6c89847fade7040dd32042a2543b0bc002bc3829bbb9125aa183d64d192f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUM0OjQwNzc5OjExM0U3ODoxODkxMUY6NkFGRDREMzciLCJ2aXNpdG9yX2lkIjoiMzUwNzUyODUwMDU1MjQ4NjE5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdf0c43f51236ff42d84ce9d9ac2408ab1fd9a8ffd0096679b1dab15ac378c0c0
hovercard-subject-tagpull_request:5015620732
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/allure-framework/allure-python/pull/933/files
twitter:imagehttps://avatars.githubusercontent.com/u/6297260?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/6297260?s=400&v=4
og:image:altContext Pytest’s xfail marker identifies tests that are expected to fail, for instance because of a known bug. Pytest supports a "strict" xfail mode through @pytest.mark.xfail(strict=True...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/allure-framework/allure-python git https://github.com/allure-framework/allure-python.git
octolytics-dimension-user_id5879127
octolytics-dimension-user_loginallure-framework
octolytics-dimension-repository_id79346720
octolytics-dimension-repository_nwoallure-framework/allure-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id79346720
octolytics-dimension-repository_network_root_nwoallure-framework/allure-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb6f01f7cb9f35f8c09949773241a3d49dd04b340
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/allure-framework/allure-python/pull/933/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fallure-framework%2Fallure-python%2Fpull%2F933%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fallure-framework%2Fallure-python%2Fpull%2F933%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=allure-framework%2Fallure-python
Reloadhttps://github.com/allure-framework/allure-python/pull/933/files
Reloadhttps://github.com/allure-framework/allure-python/pull/933/files
Reloadhttps://github.com/allure-framework/allure-python/pull/933/files
allure-frameworkhttps://github.com/allure-framework
allure-pythonhttps://github.com/allure-framework/allure-python
Codehttps://github.com/allure-framework/allure-python
Issues101 (101)https://github.com/allure-framework/allure-python/issues
Pull requests33 (33)https://github.com/allure-framework/allure-python/pulls
Actionshttps://github.com/allure-framework/allure-python/actions
Security and qualityhttps://github.com/allure-framework/allure-python/security
Insightshttps://github.com/allure-framework/allure-python/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fallure-framework%2Fallure-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fallure-framework%2Fallure-python%2Fissues%2Fnew%2Fchoose
nonatomiclabshttps://github.com/nonatomiclabs
allure-framework:masterhttps://github.com/allure-framework/allure-python/tree/master
nonatomiclabs:display-full-messages-on-strict-xfailshttps://github.com/nonatomiclabs/allure-python/tree/display-full-messages-on-strict-xfails
Conversation 0 https://github.com/allure-framework/allure-python/pull/933
Commits 2 https://github.com/allure-framework/allure-python/pull/933/commits
Checks 19 https://github.com/allure-framework/allure-python/pull/933/checks
Files changed https://github.com/allure-framework/allure-python/pull/933/files
Please reload this pagehttps://github.com/allure-framework/allure-python/pull/933/files
Fix missing failure details for strict XPASS in allure-pytest https://github.com/allure-framework/allure-python/pull/933/files#top
Show all changes 2 commits https://github.com/allure-framework/allure-python/pull/933/files
e786eb5 Fix missing failure details for strict XPASS in allure-pytest nonatomiclabs Oct 26, 2026 https://github.com/allure-framework/allure-python/pull/933/commits/e786eb560a7f7086d66ff0e599c5ffe49a2a0943
e0eda02 Merge branch 'master' into display-full-messages-on-strict-xfails nonatomiclabs Oct 26, 2026 https://github.com/allure-framework/allure-python/pull/933/commits/e0eda02b3eb14f6a48368960817d0c5974d16231
Clear filters https://github.com/allure-framework/allure-python/pull/933/files
Please reload this pagehttps://github.com/allure-framework/allure-python/pull/933/files
Please reload this pagehttps://github.com/allure-framework/allure-python/pull/933/files
listener.py https://github.com/allure-framework/allure-python/pull/933/files#diff-fefb374ddcddaa062601d8d7f5b15f0a5d80552dea44452f34eec87a3a9bada7
xfail_call_status_test.py https://github.com/allure-framework/allure-python/pull/933/files#diff-fe8e8c4a8ccf785c53f207329f87f4a839aad91b878f4b94f42ccb35b986df01
allure-pytest/src/listener.pyhttps://github.com/allure-framework/allure-python/pull/933/files#diff-fefb374ddcddaa062601d8d7f5b15f0a5d80552dea44452f34eec87a3a9bada7
View file https://github.com/allure-framework/allure-python/blob/e0eda02b3eb14f6a48368960817d0c5974d16231/allure-pytest/src/listener.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-python/pull/933/{{ revealButtonHref }}
https://github.com/allure-framework/allure-python/pull/933/files#diff-fefb374ddcddaa062601d8d7f5b15f0a5d80552dea44452f34eec87a3a9bada7
https://github.com/allure-framework/allure-python/pull/933/files#diff-fefb374ddcddaa062601d8d7f5b15f0a5d80552dea44452f34eec87a3a9bada7
tests/allure_pytest/acceptance/status/xfail_call_status_test.pyhttps://github.com/allure-framework/allure-python/pull/933/files#diff-fe8e8c4a8ccf785c53f207329f87f4a839aad91b878f4b94f42ccb35b986df01
View file https://github.com/allure-framework/allure-python/blob/e0eda02b3eb14f6a48368960817d0c5974d16231/tests/allure_pytest/acceptance/status/xfail_call_status_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-python/pull/933/{{ revealButtonHref }}
https://github.com/allure-framework/allure-python/pull/933/files#diff-fe8e8c4a8ccf785c53f207329f87f4a839aad91b878f4b94f42ccb35b986df01
https://github.com/allure-framework/allure-python/pull/933/files#diff-fe8e8c4a8ccf785c53f207329f87f4a839aad91b878f4b94f42ccb35b986df01
Please reload this pagehttps://github.com/allure-framework/allure-python/pull/933/files
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.