Title: Inform user that generate test action can't be called in some situations · Issue #1077 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Inform user that generate test action can't be called in some situations · Issue #1077 · UnitTestBot/UTBotJava
X Title: Inform user that generate test action can't be called in some situations · Issue #1077 · UnitTestBot/UTBotJava
Description: Description Sometimes we can't generate tests for users code. The generation process will fail for some reasons, sometimes they do not depend on us. We should avoid generation in such situations and inform user about the reasons. It shou...
Open Graph Description: Description Sometimes we can't generate tests for users code. The generation process will fail for some reasons, sometimes they do not depend on us. We should avoid generation in such situations an...
X Description: Description Sometimes we can't generate tests for users code. The generation process will fail for some reasons, sometimes they do not depend on us. We should avoid generation in such situation...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/1077
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inform user that generate test action can't be called in some situations","articleBody":"**Description**\r\n\r\nSometimes we can't generate tests for users code. The generation process will fail for some reasons, sometimes they do not depend on us. We should avoid generation in such situations and inform user about the reasons.\r\n\r\nIt should highly likely be done similarly to the notifying that test generation during indexing is impossible.\r\n\r\n**Expected behavior**\r\n\r\n1) If user tries to generate tests for an abstract class, we should avoid generation\r\nsee https://github.com/UnitTestBot/UTBotJava/issues/873 for more details\r\n\r\n2) If users's code is located in a package which name starts from \"java\", we should avoid generation\r\nsee https://stackoverflow.com/questions/5490555/prohibited-package-name-java\r\n\r\nMay be there are some another situations...\r\n\r\n**Potential alternatives**\r\n\r\nFail test generation or do not react on users request at all - seems not very good.","author":{"url":"https://github.com/EgorkaKulikov","@type":"Person","name":"EgorkaKulikov"},"datePublished":"2022-10-04T12:58:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1077/UTBotJava/issues/1077"}
| 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:813b954b-2a74-342a-db4e-44e32a503d82 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B032:2F6ED:1C57CF:24FADF:698E8B88 |
| html-safe-nonce | 2e5df9592b839ea6bd94469934d611f57edca312a0ca9439ad8ba2dc8cacf95f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDMyOjJGNkVEOjFDNTdDRjoyNEZBREY6Njk4RThCODgiLCJ2aXNpdG9yX2lkIjoiMzg3MzMwNjU5NDI2ODU4MDc0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fe39cab18de094a2cac0ffcb594047bc0494dfd4eb72e404f29abfe0c1475e8f |
| hovercard-subject-tag | issue:1396236441 |
| 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/UnitTestBot/UTBotJava/1077/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3328d46c40837b55cfacf192c5c86304a7c6451c37d15e1f8396f95e4070b0de/UnitTestBot/UTBotJava/issues/1077 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3328d46c40837b55cfacf192c5c86304a7c6451c37d15e1f8396f95e4070b0de/UnitTestBot/UTBotJava/issues/1077 |
| og:image:alt | Description Sometimes we can't generate tests for users code. The generation process will fail for some reasons, sometimes they do not depend on us. We should avoid generation in such situations an... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EgorkaKulikov |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/UnitTestBot/UTBotJava git https://github.com/UnitTestBot/UTBotJava.git |
| octolytics-dimension-user_id | 87413538 |
| octolytics-dimension-user_login | UnitTestBot |
| octolytics-dimension-repository_id | 480810501 |
| octolytics-dimension-repository_nwo | UnitTestBot/UTBotJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 480810501 |
| octolytics-dimension-repository_network_root_nwo | UnitTestBot/UTBotJava |
| 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 | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width