Title: Settings UI revision · Issue #753 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Settings UI revision · Issue #753 · UnitTestBot/UTBotJava
X Title: Settings UI revision · Issue #753 · UnitTestBot/UTBotJava
Description: Settings UI revision Description Inconsistent labels in the IntelliJ IDEA plugin UI. Product name should be: UnitTestBot (everywhere). Some UI elements of UnitTestBot are incongruent with the IntelliJ IDEA UI. Some settings are duplicate...
Open Graph Description: Settings UI revision Description Inconsistent labels in the IntelliJ IDEA plugin UI. Product name should be: UnitTestBot (everywhere). Some UI elements of UnitTestBot are incongruent with the Intel...
X Description: Settings UI revision Description Inconsistent labels in the IntelliJ IDEA plugin UI. Product name should be: UnitTestBot (everywhere). Some UI elements of UnitTestBot are incongruent with the Intel...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/753
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Settings UI revision","articleBody":"# Settings UI revision\r\n\r\n**Description**\r\n\r\n* Inconsistent labels in the IntelliJ IDEA plugin UI.\r\nProduct name should be: UnitTestBot (everywhere).\r\nSome UI elements of UnitTestBot are incongruent with the IntelliJ IDEA UI.\r\nSome settings are duplicated in the Plugin settings window and Action settings window.\r\n\r\n* Some setting labels are unclear.\r\n\r\n* Redundant \"Help\" tooltips; each option has a tooltip.\r\nLet's make UnitTestBot UI consistent with the IntelliJ IDEA design guidelines regarding [tooltips](https://jetbrains.design/intellij/controls/tooltip/) and [context help](https://jetbrains.design/intellij/principles/context_help/). :)\r\n\r\n=\u003e Please revise the Settings UI in Cases 1-3 as following.\r\n\r\n## Case 1. Plugin settings window\r\n\r\n### Steps To Reproduce\r\n\r\nIntelliJ IDEA → File → Settings... → Tools → UtBot\r\n\r\nSee the Screenshot_1.\r\n\r\n\r\n\r\n### Actual (OLD) and expected (NEW) behavior\r\n\r\n1. Plugin name — marked with red in the Screenshot_1.\r\n(OLD) UtBot\r\n(NEW) UnitTestBot\r\n\r\n2. (OLD) Mock strategy:\r\nNo mocks\r\nOther packages: Mockito\r\nOther classes: Mockito\r\n\r\n(NEW) //Remove this setting from Plugin settings. Leave it only in Action settings.\r\n\r\n3. (OLD) Language generation:\r\nJava\r\nKotlin\r\n\r\n(NEW) Generated test language:\r\nJava\r\nKotlin\r\n\r\n//Please add a tooltip:\r\nYou can generate test methods in Java or Kotlin regardless of your source code language.\r\n\r\n4. (OLD) Test with exceptions:\r\nFailing\r\nPassing\r\n\r\n//Tooltip:\r\nTest behavior when runtime exception occurs\r\n\r\n(NEW) Tests with exceptions:\r\nFail\r\nPass\r\n//Please remove the tooltip.\r\n\r\n5. (OLD) Hanging test timeout:\t\tmilliseconds\r\n\r\n(NEW) //Please add a tooltip:\r\nTest generation may hang due to infinite loops or other code conditions. Set timeout to stop waiting for hanging process.\r\n\r\n6. (OLD) Force static mocking:\r\nForce static mocking\r\nDo not force static mocking\r\n\r\n(NEW) Force mocking static methods:\t[checkbox]\r\n\r\n//Please add a tooltip:\r\nOverrides other mocking settings.\r\n\r\n7. (OLD) Class\r\n//java.util.Random\r\n//etc\r\n\r\n(NEW) //Please make this field open only when \"Force mock static methods:\" is checked.\r\nClasses to be forcedly mocked:\r\n//java.util.Random\r\n//etc\r\n\r\n8. Please check #863.\r\n\r\n# Case 2. Generate... dialog window\r\n\r\n### Steps To Reproduce\r\n\r\nOpen the existing Java project in IntelliJ IDEA.\r\nOpen the Java file.\r\nIn the Editor tool window right-click any line containing a method or a class → Generate...\r\n\r\nSee the Screenshot_2.\r\n\r\n\r\n\r\n### Actual (OLD) and expected (NEW) behavior\r\n\r\n1. (OLD) Generate… (right-click menu) → Create Tests with UTBot… → Generate tests with UTBot\r\n(NEW) Generate… (right-click menu) → Tests with UnitTestBot… → Generate Tests with UnitTestBot\r\n\r\n# Case 3. Action settings window\r\n\r\n### Steps To Reproduce\r\n\r\nOpen the existing Java project in IntelliJ IDEA.\r\nRight-click the required package or a file in the Project tool window, scroll the menu down to the bottom and choose Create Tests with UTBot… (right-click menu) → Generate tests with UtBot\r\n\r\nSee the Screenshot_3 for item 1.\r\n\r\n\u003cimg width=\"416\" alt=\"Screenshot_3\" src=\"https://user-images.githubusercontent.com/64418523/185890850-e69ce580-9add-4a1c-a899-dcf889531e9e.PNG\"\u003e\r\n\r\nSee the Screenshot_4 for items 2-10.\r\n\r\n\r\n\r\n### Actual (OLD) and expected (NEW) behavior\r\n\r\n1. (OLD) Create Tests with UTBot… (right-click menu) → Generate tests with UtBot\r\n(NEW) Generate Tests with UnitTestBot… (right-click menu) → Generate Tests with UnitTestBot\r\n\r\n2. (OLD) Code generation language:\r\nJava\r\nKotlin\r\n//Tooltips:\r\nGenerate unit tests in Java\r\nGenerate unit tests in Kotlin\r\n\r\n(NEW) Please remove this setting from the Action settings window.\r\n\r\n3. (OLD) Test framework:\r\nJUnit4\r\nJUnit5\r\nTestNG\r\n\r\n//Tooltips:\r\nUse JUnit4 as test framework\r\nUse JUnit5 as test framework\r\n\r\n(NEW) Testing framework:\r\nJUnit4\r\nJUnit5\r\nTestNG\r\n\r\nPlease remove the tooltips.\r\n\r\n4. (OLD) Mock strategy:\r\nNo mocks\t\t\r\nOther packages: Mockito\t\t\r\nOther classes: Mockito\r\n//Tooltips:\r\nDo not use mock frameworks at all\r\nMock all classes outside the current package except system ones\r\nMock all classes outside the class under test except system ones\r\n\r\n(NEW) Mocking strategy:\r\nDo not mock\r\nMock package environment\t\r\nMock class environment\r\n//Please add the tooltip:\r\nMock everything around the target class or the whole package except the system classes. Otherwise mock nothing.\r\n\r\n6. (OLD) Mock static:\r\nNo static mocking\r\nMockito static mocking\r\n//Tooltips:\r\nDo not use additional settings to mock static fields\r\nUse static methods mocking\r\n\r\n(NEW) Mock static methods:\tyes/no (checkbox)\r\nPlease remove the tooltips.\r\n\r\n7. (OLD) Timeout for class:\t\tsec\r\n//Tooltip:\r\nThe execution timeout specifies time for symbolic and concrete analysis\r\n\r\n(NEW) Test generation timeout per class:\t\tseconds\r\nPlease remove the tooltip (TBD).\r\n\r\n8. (OLD) Parametrized tests:\r\nNot parametrized\r\nParametrized\r\n//Tooltips:\r\nDo not generate parametrized tests\r\nGenerate parametrized tests\r\n\r\n(NEW) Parameterized tests:\tyes/no (checkbox)\r\nPlease remove the tooltips.\r\nPlease move this setting up (after the \"Testing framework:\" setting).\r\n\r\n10. (OLD) Generate test methods for:\r\n\r\n(NEW) Generate tests for:\r\n\r\n**Environment**\r\n\r\nWindows 10 Pro\r\n[UnitTestBot](https://github.com/UnitTestBot/UTBotJava/actions/runs/2882380477)\r\nIntelliJ IDEA 2022.1.3 (Ultimate Edition)\r\n\r\n**Additional context**\r\nPlease check the expected settings sequence.\r\n\r\nFor Plugin settings window:\r\n\r\n- [ ] Generated test language:\r\n- [ ] Hanging test timeout:\r\n- [ ] Tests with exceptions:\r\n- [ ] Overflow detection:\r\n- [ ] Force mock static methods:\r\n- [ ] Classes to be forcedly mocked:\r\n- [ ] Test generation method:\r\n\r\nFor Action settings window:\r\n\r\n- [ ] Test source root:\r\n- [ ] Testing framework:\r\n- [ ] Parameterized tests:\r\n- [ ] Mocking strategy:\r\n- [ ] Mock static methods:\r\n- [ ] Test generation timeout per class:\r\n- [ ] Generate tests for:","author":{"url":"https://github.com/olganaumenko","@type":"Person","name":"olganaumenko"},"datePublished":"2022-08-22T10:30:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/753/UTBotJava/issues/753"}
| 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:d76bb110-5e21-d223-0cbc-1869f84c906b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B29E:1F00CB:543DDA:6ED1D2:698EB8EE |
| html-safe-nonce | 75b725fd725f11a5f1ae94b6930657a41eeb89dc9720182fa057cb8888a6fd7b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjlFOjFGMDBDQjo1NDNEREE6NkVEMUQyOjY5OEVCOEVFIiwidmlzaXRvcl9pZCI6IjgxNjc0NjI3MDQwOTAzNjQxNDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a8beeaa63e0666df814cd5da3844660ca06efebf48b38f6433511154f091a960 |
| hovercard-subject-tag | issue:1346178791 |
| 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/753/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8eb77acbea1b920810815ce79861576e85bb98cf51bf4bb1ec1b1e54a05e608a/UnitTestBot/UTBotJava/issues/753 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8eb77acbea1b920810815ce79861576e85bb98cf51bf4bb1ec1b1e54a05e608a/UnitTestBot/UTBotJava/issues/753 |
| og:image:alt | Settings UI revision Description Inconsistent labels in the IntelliJ IDEA plugin UI. Product name should be: UnitTestBot (everywhere). Some UI elements of UnitTestBot are incongruent with the Intel... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | olganaumenko |
| 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