Title: UTBot doesn't show test source from other modules for Gradle project · Issue #1060 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: UTBot doesn't show test source from other modules for Gradle project · Issue #1060 · UnitTestBot/UTBotJava
X Title: UTBot doesn't show test source from other modules for Gradle project · Issue #1060 · UnitTestBot/UTBotJava
Description: Description Assume there is Gradle project where two modules exist, one with test source and second one without. When user tries to generate tests in the latter module UTBot shows error instead of suggesting folder from the first module ...
Open Graph Description: Description Assume there is Gradle project where two modules exist, one with test source and second one without. When user tries to generate tests in the latter module UTBot shows error instead of ...
X Description: Description Assume there is Gradle project where two modules exist, one with test source and second one without. When user tries to generate tests in the latter module UTBot shows error instead of ...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/1060
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"UTBot doesn't show test source from other modules for Gradle project","articleBody":"**Description**\r\n\r\nAssume there is Gradle project where two modules exist, one with test source and second one without. When user tries to generate tests in the latter module UTBot shows error instead of suggesting folder from the first module or to create new one.\r\n\r\n**To Reproduce**\r\n\r\nSteps to reproduce the behavior:\r\n\r\n1. Create Gradle project with two modules, one of which has test sources deleted (or use [attached one](https://github.com/UnitTestBot/UTBotJava/files/9698173/Junit5GradleJava11.zip)) \r\n2. Open `Junit5GradleJava11\\driver\\src\\main\\java\\org\\test\\Printer.java`\r\n3. Try to generate tests with UTBot (`Alt-Shift-U`) \r\n\r\n**Expected behavior**\r\n\r\nUTBot opens `Generate tests` dialog and either suggests test folders from another module or to create test source in current module.\r\n\r\n**Actual behavior**\r\n\r\nUTBot shows error and doesn't open dialog `Generate Tests`\r\n**Visual proofs (screenshots, logs, images)**\r\n\r\n\r\n\r\n\r\n**Additional context**\r\n\r\nNo such problem in Intellij type project - UTBot suggest to create test folder.\r\n\r\nPleas note that currently user can select test roots from another module **only** in Gradle project.","author":{"url":"https://github.com/tyuldashev","@type":"Person","name":"tyuldashev"},"datePublished":"2022-10-03T14:34:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1060/UTBotJava/issues/1060"}
| 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:f292cd70-446f-6ba7-91e3-de9c050c9c16 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8704:FF5D2:B37FA:E3509:698E5DCC |
| html-safe-nonce | 865e2d91bad73944e833e26408465cb265adfaf514f150bc4ac15f8fa36d0a3f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzA0OkZGNUQyOkIzN0ZBOkUzNTA5OjY5OEU1RENDIiwidmlzaXRvcl9pZCI6IjcxNTY0NDk0NzAxNTM5MDc2NjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e54be9036dea37fff20ef486dc71dadf5157f738e53ce41bef00dc8209bb1489 |
| hovercard-subject-tag | issue:1394845470 |
| 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/1060/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c6f4a8f37adc92cacafd0940c881030f4c074f605e116b6131c6b20b2450ae90/UnitTestBot/UTBotJava/issues/1060 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c6f4a8f37adc92cacafd0940c881030f4c074f605e116b6131c6b20b2450ae90/UnitTestBot/UTBotJava/issues/1060 |
| og:image:alt | Description Assume there is Gradle project where two modules exist, one with test source and second one without. When user tries to generate tests in the latter module UTBot shows error instead of ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tyuldashev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 666e30cc1de8ebdf458084bf731e95deba4f074a5008f91b50803aa9a71e3725 |
| 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 | f2d67bd549813f8aceb31f205ebdb434e9d46d38 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width