René's URL Explorer Experiment


Title: Treat errors in setup hooks as Global Errors in Allure Report by vdvukhzhilov · Pull Request #139 · allure-framework/allure-codeception · GitHub

Open Graph Title: Treat errors in setup hooks as Global Errors in Allure Report by vdvukhzhilov · Pull Request #139 · allure-framework/allure-codeception

X Title: Treat errors in setup hooks as Global Errors in Allure Report by vdvukhzhilov · Pull Request #139 · allure-framework/allure-codeception

Description: When a Codeception module hook fails (_before, _after, _beforeSuite, _afterSuite), Allure often missed a clear run-level signal — especially for suite setup failures. This change aligns Codeception with the rest of the Allure ecosystem: Record those hooks as fixtures in the report (so setup/teardown stays visible). On failure, also write an Allure global error, so the failure shows under Global Errors. Existing test results keep working the same way; we only add fixture + global-error reporting for the hooks we wrap. Hook failures are easy to overlook in Allure if they only leave a broken/incomplete test story. Global Errors give a single, obvious place to see “setup/teardown blew up.” Fixture reporting keeps the before/after context next to the suite or test container. Behavior Supported hooks: Module _beforeSuite, _afterSuite, _before, _after. On failure: fixture is marked failed/broken and one global error is written (no duplicates). Global error message: {hook} failed: …, or {hook} failed when there is no useful message. Test reporting starts after _before succeeds (same idea as allure-phpunit), so a failing before-hook does not look like a half-started test.

Open Graph Description: When a Codeception module hook fails (_before, _after, _beforeSuite, _afterSuite), Allure often missed a clear run-level signal — especially for suite setup failures. This change aligns Codeception...

X Description: When a Codeception module hook fails (_before, _after, _beforeSuite, _afterSuite), Allure often missed a clear run-level signal — especially for suite setup failures. This change aligns Codeception...

Opengraph URL: https://github.com/allure-framework/allure-codeception/pull/139

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:416be804-99e1-ffd0-72b8-080be4da97a6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id832E:44FA6:F3B87:14D2FE:6AFD4B81
html-safe-nonce4c9b900894e8bb391e93fb2b103d029175cafd0d536e97d87fa3460f4e62ccdb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzJFOjQ0RkE2OkYzQjg3OjE0RDJGRTo2QUZENEI4MSIsInZpc2l0b3JfaWQiOiI3ODIxNjE3Nzg4NzkzMTg5MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac42aad568c7a4a11daa5517bbbde3c80fdc7a651eb6c491c9c5a94daaf10140db
hovercard-subject-tagpull_request:4227458876
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-codeception/pull/139/files
twitter:imagehttps://avatars.githubusercontent.com/u/17381580?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/17381580?s=400&v=4
og:image:altWhen a Codeception module hook fails (_before, _after, _beforeSuite, _afterSuite), Allure often missed a clear run-level signal — especially for suite setup failures. This change aligns Codeception...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/allure-framework/allure-codeception git https://github.com/allure-framework/allure-codeception.git
octolytics-dimension-user_id5879127
octolytics-dimension-user_loginallure-framework
octolytics-dimension-repository_id20694400
octolytics-dimension-repository_nwoallure-framework/allure-codeception
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20694400
octolytics-dimension-repository_network_root_nwoallure-framework/allure-codeception
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-codeception/pull/139/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fallure-framework%2Fallure-codeception%2Fpull%2F139%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-codeception%2Fpull%2F139%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-codeception
Reloadhttps://github.com/allure-framework/allure-codeception/pull/139/files
Reloadhttps://github.com/allure-framework/allure-codeception/pull/139/files
Reloadhttps://github.com/allure-framework/allure-codeception/pull/139/files
allure-frameworkhttps://github.com/allure-framework
allure-codeceptionhttps://github.com/allure-framework/allure-codeception
Codehttps://github.com/allure-framework/allure-codeception
Issues1 (1)https://github.com/allure-framework/allure-codeception/issues
Pull requests4 (4)https://github.com/allure-framework/allure-codeception/pulls
Actionshttps://github.com/allure-framework/allure-codeception/actions
Security and qualityhttps://github.com/allure-framework/allure-codeception/security
Insightshttps://github.com/allure-framework/allure-codeception/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fallure-framework%2Fallure-codeception%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-codeception%2Fissues%2Fnew%2Fchoose
vdvukhzhilovhttps://github.com/vdvukhzhilov
mainhttps://github.com/allure-framework/allure-codeception/tree/main
hooks-global-errorshttps://github.com/allure-framework/allure-codeception/tree/hooks-global-errors
Conversation 0 https://github.com/allure-framework/allure-codeception/pull/139
Commits 1 https://github.com/allure-framework/allure-codeception/pull/139/commits
Checks 22 https://github.com/allure-framework/allure-codeception/pull/139/checks
Files changed https://github.com/allure-framework/allure-codeception/pull/139/files
Please reload this pagehttps://github.com/allure-framework/allure-codeception/pull/139/files
Treat errors in setup hooks as Global Errors in Allure Report https://github.com/allure-framework/allure-codeception/pull/139/files#top
Show all changes 1 commit https://github.com/allure-framework/allure-codeception/pull/139/files
b9f9d6d feat: treat hooks errors as allure report global errors vdvukhzhilov Aug 7, 2026 https://github.com/allure-framework/allure-codeception/pull/139/commits/b9f9d6d70ff1a0ae5b79e5b97b64a1e894e71da2
Clear filters https://github.com/allure-framework/allure-codeception/pull/139/files
Please reload this pagehttps://github.com/allure-framework/allure-codeception/pull/139/files
Please reload this pagehttps://github.com/allure-framework/allure-codeception/pull/139/files
.gitignore https://github.com/allure-framework/allure-codeception/pull/139/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
codeception-hooks.yml https://github.com/allure-framework/allure-codeception/pull/139/files#diff-fd78bb270a1b11b41ef2268a9879887d5fd32a5922f09dc465759abd83f6761e
composer.json https://github.com/allure-framework/allure-codeception/pull/139/files#diff-d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34
phpcs.xml.dist https://github.com/allure-framework/allure-codeception/pull/139/files#diff-05ae9cddcaec1e845771a7db224961439f83ef5939ec67d3a48744cb34d7e58b
AllureAdapter.php https://github.com/allure-framework/allure-codeception/pull/139/files#diff-6020166571cb8e19514cbe017dffcc536373cea56677e80128f7f5d9f3d21410
AllureAdapterInterface.php https://github.com/allure-framework/allure-codeception/pull/139/files#diff-f63053cdabe2a3ae8639e6953f6698664f2f2ffe65a14a29ef6e32c508b69522
AllureCodeception.php https://github.com/allure-framework/allure-codeception/pull/139/files#diff-62f08dc75b449626f5bb7dff6627aa0574f198c87d0e65edd89b3a694f9385bd
HookFailureMessage.php https://github.com/allure-framework/allure-codeception/pull/139/files#diff-45f98958b6514e8a5311ddf7c10b2883d1aed754045b20bfeae6061d60f37fbb
TestLifecycle.php https://github.com/allure-framework/allure-codeception/pull/139/files#diff-6f94dccf0d498c7c29da30c7470eaf8614d1f5f5c5a62a525535988baf406a67
TestLifecycleInterface.php https://github.com/allure-framework/allure-codeception/pull/139/files#diff-e7ab2c47ad135c1625156bbffb0d4e145d06d287f673769f324100876aa7b087
HookFailureIntegrationTest.php https://github.com/allure-framework/allure-codeception/pull/139/files#diff-fcd85e07c8992c8a8abdc3bf860b2ad97cdab985e619bc0678bf2bedd697e530
HookFailureMessageTest.php https://github.com/allure-framework/allure-codeception/pull/139/files#diff-376050d1ce37332bec12b53f036bc37321e26a70f78ff39694be2e9ae6e4ffa6
TestLifecycleHookFixtureTest.php https://github.com/allure-framework/allure-codeception/pull/139/files#diff-782155808c45e6611b700332203327d75baaa4f3b06513839db40b0dd34b2149
HookFailHelper.php https://github.com/allure-framework/allure-codeception/pull/139/files#diff-8eb5ece7de3a067671e166054043f18b49fed37b18b897fe0ecbe0aa843e41fc
OutputDirectoryHook.php https://github.com/allure-framework/allure-codeception/pull/139/files#diff-0cd1b700a56ceadf89a255608f29dc3ab5749fcd5b5d08fa7b8af1989a2a1227
UnitTester.php https://github.com/allure-framework/allure-codeception/pull/139/files#diff-7a96971f2456e4843b7a37b223f252e909d6954230c3a9ad8ba035227ca79c9d
unit.suite.yml https://github.com/allure-framework/allure-codeception/pull/139/files#diff-6cbf0677a512236f05c13cbd2a2e9985642204a36e20f4adec8d8127569f1c69
PassingCest.php https://github.com/allure-framework/allure-codeception/pull/139/files#diff-7413167998fde363af56bfccc6d8198f7803cf4ff2c0b19a73604f1ff96bf43b
.gitignorehttps://github.com/allure-framework/allure-codeception/pull/139/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
View file https://github.com/allure-framework/allure-codeception/blob/b9f9d6d70ff1a0ae5b79e5b97b64a1e894e71da2/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-codeception/pull/139/{{ revealButtonHref }}
https://github.com/allure-framework/allure-codeception/pull/139/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
codeception-hooks.ymlhttps://github.com/allure-framework/allure-codeception/pull/139/files#diff-fd78bb270a1b11b41ef2268a9879887d5fd32a5922f09dc465759abd83f6761e
View file https://github.com/allure-framework/allure-codeception/blob/b9f9d6d70ff1a0ae5b79e5b97b64a1e894e71da2/codeception-hooks.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-codeception/pull/139/{{ revealButtonHref }}
composer.jsonhttps://github.com/allure-framework/allure-codeception/pull/139/files#diff-d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34
View file https://github.com/allure-framework/allure-codeception/blob/b9f9d6d70ff1a0ae5b79e5b97b64a1e894e71da2/composer.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-codeception/pull/139/{{ revealButtonHref }}
https://github.com/allure-framework/allure-codeception/pull/139/files#diff-d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34
https://github.com/allure-framework/allure-codeception/pull/139/files#diff-d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34
phpcs.xml.disthttps://github.com/allure-framework/allure-codeception/pull/139/files#diff-05ae9cddcaec1e845771a7db224961439f83ef5939ec67d3a48744cb34d7e58b
View file https://github.com/allure-framework/allure-codeception/blob/b9f9d6d70ff1a0ae5b79e5b97b64a1e894e71da2/phpcs.xml.dist
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-codeception/pull/139/{{ revealButtonHref }}
https://github.com/allure-framework/allure-codeception/pull/139/files#diff-05ae9cddcaec1e845771a7db224961439f83ef5939ec67d3a48744cb34d7e58b
https://github.com/allure-framework/allure-codeception/pull/139/files#diff-05ae9cddcaec1e845771a7db224961439f83ef5939ec67d3a48744cb34d7e58b
src/AllureAdapter.phphttps://github.com/allure-framework/allure-codeception/pull/139/files#diff-6020166571cb8e19514cbe017dffcc536373cea56677e80128f7f5d9f3d21410
View file https://github.com/allure-framework/allure-codeception/blob/b9f9d6d70ff1a0ae5b79e5b97b64a1e894e71da2/src/AllureAdapter.php
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-codeception/pull/139/{{ revealButtonHref }}
src/AllureAdapterInterface.phphttps://github.com/allure-framework/allure-codeception/pull/139/files#diff-f63053cdabe2a3ae8639e6953f6698664f2f2ffe65a14a29ef6e32c508b69522
View file https://github.com/allure-framework/allure-codeception/blob/b9f9d6d70ff1a0ae5b79e5b97b64a1e894e71da2/src/AllureAdapterInterface.php
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/allure-framework/allure-codeception/pull/139/{{ revealButtonHref }}
Please reload this pagehttps://github.com/allure-framework/allure-codeception/pull/139/files
Please reload this pagehttps://github.com/allure-framework/allure-codeception/pull/139/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.