Title: 馃悶: No execution info when running tests via JUnit5 Launcher API 路 Issue #1153 路 allure-framework/allure-java 路 GitHub
Open Graph Title: 馃悶: No execution info when running tests via JUnit5 Launcher API 路 Issue #1153 路 allure-framework/allure-java
X Title: 馃悶: No execution info when running tests via JUnit5 Launcher API 路 Issue #1153 路 allure-framework/allure-java
Description: What happened? I run tests this way, but the results show an incomplete report, there is no data with annotations @step and @attachment private static void executeTest(String testIdentifier) { LauncherDiscoveryRequest request; if (testId...
Open Graph Description: What happened? I run tests this way, but the results show an incomplete report, there is no data with annotations @step and @attachment private static void executeTest(String testIdentifier) { Laun...
X Description: What happened? I run tests this way, but the results show an incomplete report, there is no data with annotations @step and @attachment private static void executeTest(String testIdentifier) { Laun...
Opengraph URL: https://github.com/allure-framework/allure-java/issues/1153
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"馃悶: No execution info when running tests via JUnit5 Launcher API","articleBody":"### What happened?\n\nI run tests this way, but the results show an incomplete report, there is no data with annotations @Step and @Attachment\n\n```\nprivate static void executeTest(String testIdentifier) {\n LauncherDiscoveryRequest request;\n\n if (testIdentifier.contains(\"#\")) {\n request = LauncherDiscoveryRequestBuilder.request()\n .selectors(selectMethod(testIdentifier))\n .build();\n } else {\n request = LauncherDiscoveryRequestBuilder.request()\n .selectors(selectClass(testIdentifier))\n .build();\n }\n System.setProperty(\"allure.results.directory\", \"target/test-result/allure-results\");\n System.setProperty(\"junit.jupiter.extensions.autodetection.enabled\", \"true\");\n\n LauncherConfig launcherConfig = LauncherConfig.builder()\n .enableTestExecutionListenerAutoRegistration(true)\n .build();\n\n SummaryGeneratingListener summaryGeneratingListener = new SummaryGeneratingListener();\n\n try (LauncherSession session = LauncherFactory.openSession(launcherConfig)) {\n Launcher launcher = session.getLauncher();\n launcher.registerTestExecutionListeners(summaryGeneratingListener);\n TestPlan testPlan = launcher.discover(request);\n launcher.execute(testPlan);\n }\n }\n```\n\nCan this be fixed?\n\n### What Allure Integration are you using?\n\nallure-junit5\n\n### What version of Allure Integration you are using?\n\n2.29.0\n\n### What version of Allure Report you are using?\n\n2.29.0\n\n### Code of Conduct\n\n- [x] I agree to follow this project's Code of Conduct","author":{"url":"https://github.com/korpus95","@type":"Person","name":"korpus95"},"datePublished":"2025-04-05T16:01:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1153/allure-java/issues/1153"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c11fad76-1bff-ba7c-9919-2374e62e3863 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8DE4:2FA4DF:20F5AB:2CF391:696E51C7 |
| html-safe-nonce | c5b312758c7abcd51b765a0975782c47b6e1a7128ceefdffd59bf1412787df8c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REU0OjJGQTRERjoyMEY1QUI6MkNGMzkxOjY5NkU1MUM3IiwidmlzaXRvcl9pZCI6IjE4OTIzMjcxODAzODEwODIwNTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 001997a32b32357e786f53647547165811e538f9ebce2221bdf10ecd4c9d879e |
| hovercard-subject-tag | issue:2974309147 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/allure-framework/allure-java/1153/issue_layout |
| twitter:image | https://opengraph.githubassets.com/38be73e0e2c08a7c1a7b46d3cf0c016bc856562ecc8540a76817fe227e9215fb/allure-framework/allure-java/issues/1153 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/38be73e0e2c08a7c1a7b46d3cf0c016bc856562ecc8540a76817fe227e9215fb/allure-framework/allure-java/issues/1153 |
| og:image:alt | What happened? I run tests this way, but the results show an incomplete report, there is no data with annotations @step and @attachment private static void executeTest(String testIdentifier) { Laun... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | korpus95 |
| hostname | github.com |
| expected-hostname | github.com |
| None | fd6f183b765d548d18ed5f3a1ce2c0e2a4ddbde2c74596c9d55c1a08b3e5572a |
| turbo-cache-control | no-preview |
| go-import | github.com/allure-framework/allure-java git https://github.com/allure-framework/allure-java.git |
| octolytics-dimension-user_id | 5879127 |
| octolytics-dimension-user_login | allure-framework |
| octolytics-dimension-repository_id | 80822758 |
| octolytics-dimension-repository_nwo | allure-framework/allure-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 80822758 |
| octolytics-dimension-repository_network_root_nwo | allure-framework/allure-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a52ed9988fadfee5477eba0f6835cc823d7d8b33 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width