Title: Select Kotlin test src root by default when generating for Kotlin #949 by volivan239 · Pull Request #1074 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Select Kotlin test src root by default when generating for Kotlin #949 by volivan239 · Pull Request #1074 · UnitTestBot/UTBotJava
X Title: Select Kotlin test src root by default when generating for Kotlin #949 by volivan239 · Pull Request #1074 · UnitTestBot/UTBotJava
Description: Description Now, if project has both Java and Kotlin tests source roots, UTBot by default selects one that matches code generation language. Note that currently there is no proper way to check whether source root is for Java or for Kotlin, so we mainly decide this by folder name (see org.utbot.intellij.plugin.ui.utils.ModuleUtilsKt#getExpectedLanguageForTests and comment there). Fixes #949 Type of Change Bug fix (non-breaking change which fixes an issue) How Has This Been Tested? Manual Scenario Repeated scenario from #949 -- works as expected. Checklist (remove irrelevant options): This is the author self-check list The change followed the style guidelines of the UTBot project Self-review of the code is passed The change contains enough commentaries, particularly in hard-to-understand areas New documentation is provided or existed one is altered No new warnings New tests have been added All tests pass locally with my changes
Open Graph Description: Description Now, if project has both Java and Kotlin tests source roots, UTBot by default selects one that matches code generation language. Note that currently there is no proper way to check whet...
X Description: Description Now, if project has both Java and Kotlin tests source roots, UTBot by default selects one that matches code generation language. Note that currently there is no proper way to check whet...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/1074
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dc46aa61-6c1c-feea-c86e-c273b2cdbb99 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C8A4:3AFAA9:CA66FF:110E159:698E45FF |
| html-safe-nonce | 835b950442c30444e331c1daeedcf92519e1f6aa60a40edb33eb7bfbd29694c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEE0OjNBRkFBOTpDQTY2RkY6MTEwRTE1OTo2OThFNDVGRiIsInZpc2l0b3JfaWQiOiIyNDkwOTg3NTU3NzgyNzAxNTY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bb660de9524e4e90a686bea4d91f70a9f24a20f0149d7bb338c60f19c9b86d1f |
| hovercard-subject-tag | pull_request:1075893929 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/UnitTestBot/UTBotJava/pull/1074/files |
| twitter:image | https://avatars.githubusercontent.com/u/65076429?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/65076429?s=400&v=4 |
| og:image:alt | Description Now, if project has both Java and Kotlin tests source roots, UTBot by default selects one that matches code generation language. Note that currently there is no proper way to check whet... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a5632af64f7fed7bff1d6a428d1aca1b94fa7a48f760de2d39d9b1effdbf0082 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3dda52e29a416820ced574e74040033b820613a2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width