Title: Save Spring related settings if changed by user · Issue #2643 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Save Spring related settings if changed by user · Issue #2643 · UnitTestBot/UTBotJava
X Title: Save Spring related settings if changed by user · Issue #2643 · UnitTestBot/UTBotJava
Description: Description Save Spring related settings selected by User on action dialog. Spring configuration, Test type, Active profile(s), Mocking strategy, Mock static methods - their changes from default should be saved and applied on the next di...
Open Graph Description: Description Save Spring related settings selected by User on action dialog. Spring configuration, Test type, Active profile(s), Mocking strategy, Mock static methods - their changes from default sh...
X Description: Description Save Spring related settings selected by User on action dialog. Spring configuration, Test type, Active profile(s), Mocking strategy, Mock static methods - their changes from default sh...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/2643
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Save Spring related settings if changed by user","articleBody":"**Description**\r\n\r\nSave Spring related settings selected by User on action dialog.\r\n`Spring configuration`, `Test type`, `Active profile(s)`, `Mocking strategy`, `Mock static methods` - their changes from default should be saved and applied on the next dialog opening.\r\n\r\n**To Reproduce**\r\n\r\n1. Install UnitTestBot plugin built from main in IntelliJ IDEA 2023.2\r\n2. Open [`spring-petclinic` project](https://github.com/spring-projects/spring-petclinic)\r\n3. Generate tests for `Owner` class with the following changed settings:\r\n\r\n- `PetClinicApplication` as Spring configuration\r\n- `JUnit 4` as Testing framework\r\n\r\n4. Wait generation is finished\r\n5. Reopen action dialog for the same/different class\r\n\r\n**Expected behavior**\r\n\r\nOn step 3 changed settings should be saved in `.idea/utbot-settings.xml`\r\nOn step 5 the settings used for test generation should be applied.\r\n\r\n**Actual behavior**\r\n\r\nTesting framework `JUnit 4` is saved and applied.\r\nSpring configuration is selected by default - `No Configuration`.\r\n\r\n**Screenshots, logs**\r\n\r\nStep 3:\r\n\r\n\r\n\r\nStep 5:\r\n\r\n\r\n\r\n**Environment**\r\n\r\nIntelliJ IDEA Ultimate/Community 2023.2 (supported versions)\r\n","author":{"url":"https://github.com/alisevych","@type":"Person","name":"alisevych"},"datePublished":"2023-10-04T08:22:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2643/UTBotJava/issues/2643"}
| 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:d64b9f64-8bde-cc9b-ea37-8f5f7c881b16 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A174:105A0D:24474F:2F73EF:698EA49C |
| html-safe-nonce | b59d998fa974e80f7b59609f2c194c30efc9096a5f8a294d02ec894cb202ea5a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTc0OjEwNUEwRDoyNDQ3NEY6MkY3M0VGOjY5OEVBNDlDIiwidmlzaXRvcl9pZCI6IjY2NTU1MjYxMDI5ODE1ODQwMjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c90528c488811bd48f0d88f380f8a637e7403d5343eb16e295d7689f3752c142 |
| hovercard-subject-tag | issue:1925664306 |
| 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/2643/issue_layout |
| twitter:image | https://opengraph.githubassets.com/139796251e360c95282da5e5292607838158c5dc0a4d737075182593cea18c2f/UnitTestBot/UTBotJava/issues/2643 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/139796251e360c95282da5e5292607838158c5dc0a4d737075182593cea18c2f/UnitTestBot/UTBotJava/issues/2643 |
| og:image:alt | Description Save Spring related settings selected by User on action dialog. Spring configuration, Test type, Active profile(s), Mocking strategy, Mock static methods - their changes from default sh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alisevych |
| 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 | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width