Title: DisplayName is not shown in the report for tests with @ParameterizedTest annotation in Juni5 · Issue #363 · allure-framework/allure-java · GitHub
Open Graph Title: DisplayName is not shown in the report for tests with @ParameterizedTest annotation in Juni5 · Issue #363 · allure-framework/allure-java
X Title: DisplayName is not shown in the report for tests with @ParameterizedTest annotation in Juni5 · Issue #363 · allure-framework/allure-java
Description: I'm submitting a ... bug report What is the current behavior? Correct @DisplayName text is not captured in the report for the test methods annotated with @ParameterizedTest instead text from @ValueSource/@CsvSource is displayed as test's...
Open Graph Description: I'm submitting a ... bug report What is the current behavior? Correct @DisplayName text is not captured in the report for the test methods annotated with @ParameterizedTest instead text from @Value...
X Description: I'm submitting a ... bug report What is the current behavior? Correct @DisplayName text is not captured in the report for the test methods annotated with @ParameterizedTest instead text from @V...
Opengraph URL: https://github.com/allure-framework/allure-java/issues/363
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DisplayName is not shown in the report for tests with @ParameterizedTest annotation in Juni5","articleBody":"[//]: # (\r\n. Note: for support questions, please use Stackoverflow or Gitter**. \r\n. This repository's issues are reserved for feature requests and bug reports.\r\n.\r\n. In case of any problems with Allure Jenkins plugin** please use the following repository \r\n. to create an issue: https://github.com/jenkinsci/allure-plugin/issues\r\n.\r\n. Make sure you have a clear name for your issue. The name should start with a capital \r\n. letter and no dot is required in the end of the sentence. An example of good issue names:\r\n.\r\n. - The report is broken in IE11\r\n. - Add an ability to disable default plugins\r\n. - Support emoji in test descriptions\r\n)\r\n\r\n#### I'm submitting a ... \r\n - [x] bug report\r\n\r\n\r\n#### What is the current behavior?\r\nCorrect @DisplayName text is not captured in the report for the test methods annotated with @ParameterizedTest instead text from @ValueSource/@CsvSource is displayed as test's display name in the report.. \r\n@DisplayName text shows up for tests with @Test annotation. If same class has methods with @Test and @ParametrizedTest then correct DisplayName text only shows for @Test methods and not for @ParameterizedTest methods. \r\n\r\n#### If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem\r\n1. Create a class with 2 test methods one annotated with @Test and another with @ParameterizedTest. \r\n2. Write @DisplayName for both tests. \r\n3. Execute Test gradle task\r\n4. Check the report \r\n\r\n#### What is the expected behavior?\r\n@DisplayName text shall appear for all active test method annotations supported by Junit5. \r\nE.g. @Test,@ParameterizedTest, @RepeatedTest\r\n\r\n#### What is the motivation / use case for changing the behavior?\r\nImprove readability of the test report when tests are annotated other than @Test\r\n\r\n#### Please tell us about your environment:\r\nSelenium, Junit5, Gradle, Java\r\n\r\n| Allure version | 2.7.0 |\r\n| --- | --- |\r\n| Test framework | JUnit5 |\r\n| Allure integration | allure-junit5@2.11.0 |\r\n| Generate report using | allure-gradle@2.5 |\r\n\r\n#### Other information \r\n\r\n[//]: # (\r\n. e.g. detailed explanation, stacktraces, related issues, suggestions \r\n. how to fix, links for us to have more context, eg. Stackoverflow, Gitter etc\r\n)","author":{"url":"https://github.com/BandyaDhapate","@type":"Person","name":"BandyaDhapate"},"datePublished":"2019-05-21T20:16:47Z","url":"https://github.com/allure-framework/allure-java/issues/363"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:bffe6aa7-830b-e20c-d121-fbea0b523197 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFD8:14E4D4:AB421:EFCDC:6AFD4A80 |
| html-safe-nonce | 1d4cd64efeea5bc4a54d671b5423165a02a02989387e9f817675d7e1629c40a1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkQ4OjE0RTRENDpBQjQyMTpFRkNEQzo2QUZENEE4MCIsInZpc2l0b3JfaWQiOiI1Mzk5MDgwMjIyODE5NDM3MTg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 037d0a67124838ed660fc36ed0d2333cd78cb09f87d14bb9e55e48935a789096 |
| hovercard-subject-tag | issue:446805323 |
| 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/363/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c41915d9b23bf8c670499c55456b2d2034e17299d0d23a608eb1a1accb2a1e0/allure-framework/allure-java/issues/363 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c41915d9b23bf8c670499c55456b2d2034e17299d0d23a608eb1a1accb2a1e0/allure-framework/allure-java/issues/363 |
| og:image:alt | I'm submitting a ... bug report What is the current behavior? Correct @DisplayName text is not captured in the report for the test methods annotated with @ParameterizedTest instead text from @Value... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BandyaDhapate |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| 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 | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width