René's URL Explorer Experiment


Title: Prevent excluded Behave steps from leaking into results (fixes #902) by liuyaohui666 · Pull Request #922 · allure-framework/allure-python · GitHub

Open Graph Title: Prevent excluded Behave steps from leaking into results (fixes #902) by liuyaohui666 · Pull Request #922 · allure-framework/allure-python

X Title: Prevent excluded Behave steps from leaking into results (fixes #902) by liuyaohui666 · Pull Request #922 · allure-framework/allure-python

Description: Context When AllureFormatter.hide_excluded=True, Behave still reports step declarations for tag-excluded scenarios to the formatter. The listener dropped those scenarios without clearing its pending step queue, so their steps were later attached to the next included scenario. This change clears pending steps when a scenario is dropped and adds an acceptance test that verifies a selected scenario contains only its own step. Fixes #902 Checklist Sign Allure CLA Provide unit tests Verification python -m pytest tests/allure_behave -q — 64 passed python -m ruff check allure-behave tests/allure_behave — all checks passed git diff --check HEAD^ HEAD

Open Graph Description: Context When AllureFormatter.hide_excluded=True, Behave still reports step declarations for tag-excluded scenarios to the formatter. The listener dropped those scenarios without clearing its pendin...

X Description: Context When AllureFormatter.hide_excluded=True, Behave still reports step declarations for tag-excluded scenarios to the formatter. The listener dropped those scenarios without clearing its pendin...

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

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:840112e0-eb67-aa50-caca-95e98edd9012
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9C80:2EE229:11B4C8:18F35C:6AFD4D44
html-safe-noncefcb0b074714774cdfe8be295235af4e7368d6644c27b811c59d46013607efc28
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzgwOjJFRTIyOToxMUI0Qzg6MThGMzVDOjZBRkQ0RDQ0IiwidmlzaXRvcl9pZCI6IjEyNTg0MzA1MzA1MzQwNjc1MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac85bb351906290b0ba1b515bb483e188e5567c997299d15280ab64d9a5d4c0833
hovercard-subject-tagpull_request:4331828271
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/922/files
twitter:imagehttps://avatars.githubusercontent.com/u/212737333?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/212737333?s=400&v=4
og:image:altContext When AllureFormatter.hide_excluded=True, Behave still reports step declarations for tag-excluded scenarios to the formatter. The listener dropped those scenarios without clearing its pendin...
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/922/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fallure-framework%2Fallure-python%2Fpull%2F922%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%2F922%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/922/files
Reloadhttps://github.com/allure-framework/allure-python/pull/922/files
Reloadhttps://github.com/allure-framework/allure-python/pull/922/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
liuyaohui666https://github.com/liuyaohui666
allure-framework:masterhttps://github.com/allure-framework/allure-python/tree/master
liuyaohui666:fix/behave-excluded-step-leakhttps://github.com/liuyaohui666/allure-python/tree/fix/behave-excluded-step-leak
Conversation 1 https://github.com/allure-framework/allure-python/pull/922
Commits 1 https://github.com/allure-framework/allure-python/pull/922/commits
Checks 10 https://github.com/allure-framework/allure-python/pull/922/checks
Files changed https://github.com/allure-framework/allure-python/pull/922/files
Please reload this pagehttps://github.com/allure-framework/allure-python/pull/922/files
Prevent excluded Behave steps from leaking into results (fixes #902) https://github.com/allure-framework/allure-python/pull/922/files#top
Show all changes 1 commit https://github.com/allure-framework/allure-python/pull/922/files
1e07a5f Fix excluded Behave steps leaking into results liuyaohui666 Aug 21, 2026 https://github.com/allure-framework/allure-python/pull/922/commits/1e07a5f0199860e8fca3a01a2e3a922947e6fb03
Clear filters https://github.com/allure-framework/allure-python/pull/922/files
Please reload this pagehttps://github.com/allure-framework/allure-python/pull/922/files
Please reload this pagehttps://github.com/allure-framework/allure-python/pull/922/files
listener.py https://github.com/allure-framework/allure-python/pull/922/files#diff-c08556a789d40e4efa6d236717cf4b6ee327ca1dd837c459ab34e05e1f7acbef
behave_cmd_test.py https://github.com/allure-framework/allure-python/pull/922/files#diff-7f839a1374a8bafa8d996494bc18e3954f4c2bd4ac21b6986be26656c0c4e570
allure-behave/src/listener.pyhttps://github.com/allure-framework/allure-python/pull/922/files#diff-c08556a789d40e4efa6d236717cf4b6ee327ca1dd837c459ab34e05e1f7acbef
View file https://github.com/allure-framework/allure-python/blob/1e07a5f0199860e8fca3a01a2e3a922947e6fb03/allure-behave/src/listener.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-python/pull/922/{{ revealButtonHref }}
https://github.com/allure-framework/allure-python/pull/922/files#diff-c08556a789d40e4efa6d236717cf4b6ee327ca1dd837c459ab34e05e1f7acbef
https://github.com/allure-framework/allure-python/pull/922/files#diff-c08556a789d40e4efa6d236717cf4b6ee327ca1dd837c459ab34e05e1f7acbef
tests/allure_behave/acceptance/behave_support/behave_cmd/behave_cmd_test.pyhttps://github.com/allure-framework/allure-python/pull/922/files#diff-7f839a1374a8bafa8d996494bc18e3954f4c2bd4ac21b6986be26656c0c4e570
View file https://github.com/allure-framework/allure-python/blob/1e07a5f0199860e8fca3a01a2e3a922947e6fb03/tests/allure_behave/acceptance/behave_support/behave_cmd/behave_cmd_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-python/pull/922/{{ revealButtonHref }}
https://github.com/allure-framework/allure-python/pull/922/files#diff-7f839a1374a8bafa8d996494bc18e3954f4c2bd4ac21b6986be26656c0c4e570
https://github.com/allure-framework/allure-python/pull/922/files#diff-7f839a1374a8bafa8d996494bc18e3954f4c2bd4ac21b6986be26656c0c4e570
Please reload this pagehttps://github.com/allure-framework/allure-python/pull/922/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.