Ren茅's URL Explorer Experiment


Title: 馃悶: ITestListener of TestNG caused the Allure does not display test's steps at all, but custom ones only. 路 Issue #1150 路 allure-framework/allure-java 路 GitHub

Open Graph Title: 馃悶: ITestListener of TestNG caused the Allure does not display test's steps at all, but custom ones only. 路 Issue #1150 路 allure-framework/allure-java

X Title: 馃悶: ITestListener of TestNG caused the Allure does not display test's steps at all, but custom ones only. 路 Issue #1150 路 allure-framework/allure-java

Description: What happened? Hi Team, I am not 100% sure whether it is a bug, but a behavior is rather weird anyway. Class TestListener implements ITestListener { @Override public void onTestSuccess(ITestResult result) { if (method.isTestMethod() && m...

Open Graph Description: What happened? Hi Team, I am not 100% sure whether it is a bug, but a behavior is rather weird anyway. Class TestListener implements ITestListener { @Override public void onTestSuccess(ITestResult ...

X Description: What happened? Hi Team, I am not 100% sure whether it is a bug, but a behavior is rather weird anyway. Class TestListener implements ITestListener { @Override public void onTestSuccess(ITestResult ...

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

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"馃悶: ITestListener of TestNG caused the Allure does not display test's steps at all, but custom ones only.","articleBody":"### What happened?\n\nHi Team,\n\nI am not 100% sure whether it is a bug, but a behavior is rather weird anyway.\n\n\n```\nClass TestListener implements ITestListener {\n\n    @Override\n    public void onTestSuccess(ITestResult result) {\n        if (method.isTestMethod() \u0026\u0026 method.getTestResult().isSuccess()) {\n            throw new AssertionError(\"With ITestListener \");\n        }\n }\n \n }\n```\n\nthis test will be working strangely returning almost nothing within it:\n```\n\n    @Test\n    public void dummyTest() {\n        some test steps ();\n        some test steps ();\n        some test steps ();\n        some test steps ();\n    }\n```\n\nThis is an example of such the report without body for some reason (except manually created step \"Test...\"):\n\n![Image](https://github.com/user-attachments/assets/88426571-66da-44fe-88ef-310aea918246)\n\nBut when I implement the same method, this time using another TestNG listener as TestLifecycleListener, then all works as expected and visible with the body:\n\n```\nClass TestListener implements IInvokedMethodListener {\n\n    public void afterInvocation(IInvokedMethod method, ITestResult testResult) {\n            if (method.isTestMethod() \u0026\u0026 method.getTestResult().isSuccess()) {\n                throw new AssertionError(\"With IInvokedMethodListener \");\n            }\n        }\n }\n```\n\n![Image](https://github.com/user-attachments/assets/3ad4a9c0-025c-4649-8286-42c29603f08b)\n\nIs it a bug or intended to be like this for some reason?\n\n\nWe do use for whole modules within a project:\nSelenide + Maven + TestNG\n```\n\u003callure.version\u003e2.27.0\u003c/allure.version\u003e\n\u003callure-maven.version\u003e2.12.0\u003c/allure-maven.version\u003e\n```\n            \n```\n\u003cplugin\u003e\n                \u003cgroupId\u003eio.qameta.allure\u003c/groupId\u003e\n                \u003cartifactId\u003eallure-maven\u003c/artifactId\u003e\n                \u003cversion\u003e${allure-maven.version}\u003c/version\u003e\n                \u003cconfiguration\u003e\n                    \u003creportVersion\u003e${allure.version}\u003c/reportVersion\u003e\n                \u003c/configuration\u003e\n            \u003c/plugin\u003e\n```\n```\n\n```\n        \u003cdependency\u003e\n            \u003cgroupId\u003eio.qameta.allure\u003c/groupId\u003e\n            \u003cartifactId\u003eallure-selenide\u003c/artifactId\u003e\n            \u003cversion\u003e${allure.version}\u003c/version\u003e\n        \u003c/dependency\u003e\n```\n\n```\n        \u003cdependency\u003e\n            \u003cgroupId\u003eio.qameta.allure\u003c/groupId\u003e\n            \u003cartifactId\u003eallure-testng\u003c/artifactId\u003e\n            \u003cversion\u003e${allure.version}\u003c/version\u003e\n        \u003c/dependency\u003e\n```\n\n```\n        \u003cdependency\u003e\n            \u003cgroupId\u003eio.qameta.allure\u003c/groupId\u003e\n            \u003cartifactId\u003eallure-plugin-api\u003c/artifactId\u003e\n            \u003cversion\u003e${allure.version}\u003c/version\u003e\n        \u003c/dependency\u003e\n```\n\n### What Allure Integration are you using?\n\nallure-testng\n\n### What version of Allure Integration you are using?\n\n2.27\n\n### What version of Allure Report you are using?\n\n2.27\n\n### Code of Conduct\n\n- [x] I agree to follow this project's Code of Conduct","author":{"url":"https://github.com/farious2009","@type":"Person","name":"farious2009"},"datePublished":"2025-02-13T14:25:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1150/allure-java/issues/1150"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3c511133-db88-fac7-4b9d-656d41b608c4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD566:1F5F5F:310A85:4577F9:696E51EB
html-safe-nonce9d1f82421575943ca87cc962ddb973466919984759af66cedd36fbfde76ceef4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTY2OjFGNUY1RjozMTBBODU6NDU3N0Y5OjY5NkU1MUVCIiwidmlzaXRvcl9pZCI6IjM3MzY2NzM0ODgzMjgzNDgxMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0c311833221c166d2fb25f658920cf90557831a552f70d8d0c356505b69dad1a
hovercard-subject-tagissue:2851196433
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/1150/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8aeb6a6f996269c31343cdde561ecab1649171d20a5cde515b21db2f70c8bf98/allure-framework/allure-java/issues/1150
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8aeb6a6f996269c31343cdde561ecab1649171d20a5cde515b21db2f70c8bf98/allure-framework/allure-java/issues/1150
og:image:altWhat happened? Hi Team, I am not 100% sure whether it is a bug, but a behavior is rather weird anyway. Class TestListener implements ITestListener { @Override public void onTestSuccess(ITestResult ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefarious2009
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/1150#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%2F1150
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%2F1150
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/1150
Reloadhttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1150
Reloadhttps://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1150
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/1150
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/1150
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/allure-framework/allure-java/issues/1150
馃悶: ITestListener of TestNG caused the Allure does not display test's steps at all, but custom ones only.https://patch-diff.githubusercontent.com/allure-framework/allure-java/issues/1150#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/farious2009
https://github.com/farious2009
farious2009https://github.com/farious2009
on Feb 13, 2025https://github.com/allure-framework/allure-java/issues/1150#issue-2851196433
https://private-user-images.githubusercontent.com/20893934/412904641-88426571-66da-44fe-88ef-310aea918246.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njg4Mzc5MTEsIm5iZiI6MTc2ODgzNzYxMSwicGF0aCI6Ii8yMDg5MzkzNC80MTI5MDQ2NDEtODg0MjY1NzEtNjZkYS00NGZlLTg4ZWYtMzEwYWVhOTE4MjQ2LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTE5VDE1NDY1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk2NjZlOTRjMWJlZWQ3YTk2YWM2NTc4ZjRhYmFhOWI5YzE1ZThmZTE1MWZmODBjNjY2MDRjNDE4MTFiYWQ1MTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ajKVw6YwencRtIO5f1zw0LmCPaYIpGBm98698tWA1xk
https://private-user-images.githubusercontent.com/20893934/412904414-3ad4a9c0-025c-4649-8286-42c29603f08b.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njg4Mzc5MTEsIm5iZiI6MTc2ODgzNzYxMSwicGF0aCI6Ii8yMDg5MzkzNC80MTI5MDQ0MTQtM2FkNGE5YzAtMDI1Yy00NjQ5LTgyODYtNDJjMjk2MDNmMDhiLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTE5VDE1NDY1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY5ZjBlZmRmNjA5MGM5OTE0MWQ2OWUxNzdmMzcxMDQ3Yzk5OWVmYTc5ZGVjOTZlMDFhYWFjODYwOTE1YjAwN2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.2zeB5gp1IJHAN0xbl1-0jHHLI3QF8Cbvr8AJi1CzlN0
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.