Title: Support for excluding private methods in utbot-gradle · Issue #482 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Support for excluding private methods in utbot-gradle · Issue #482 · UnitTestBot/UTBotJava
X Title: Support for excluding private methods in utbot-gradle · Issue #482 · UnitTestBot/UTBotJava
Description: Description Out gradle plugin collects all declared methods from the class. But sometimes there is no need to test private methods. So we should add a field testPrivateMethods: Boolean to the plugin configuration. Expected behavior The u...
Open Graph Description: Description Out gradle plugin collects all declared methods from the class. But sometimes there is no need to test private methods. So we should add a field testPrivateMethods: Boolean to the plugi...
X Description: Description Out gradle plugin collects all declared methods from the class. But sometimes there is no need to test private methods. So we should add a field testPrivateMethods: Boolean to the plugi...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/482
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support for excluding private methods in utbot-gradle","articleBody":"**Description**\r\n\r\nOut gradle plugin collects all declared methods from the class. But sometimes there is no need to test private methods. So we should add a field `testPrivateMethods: Boolean` to the plugin configuration.\r\n\r\n**Expected behavior**\r\n\r\nThe user can configure the plugin:\r\n\r\n```Gradle\r\nsarifReport {\r\n testPrivateMethods = false\r\n}\r\n```\r\n\r\nor just execute the task:\r\n\r\n```\r\ngenerateTestsAndSarifReport -PtestPrivateMethods='false'\r\n```\r\n\r\n**Context**\r\n\r\nGradle plugin documentation: [utbot-gradle/docs/utbot-gradle.md](https://github.com/UnitTestBot/UTBotJava/blob/main/utbot-gradle/docs/utbot-gradle.md)","author":{"url":"https://github.com/mmvpm","@type":"Person","name":"mmvpm"},"datePublished":"2022-07-11T12:40:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/482/UTBotJava/issues/482"}
| 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:69024442-41c5-5b16-22b5-15dda191a897 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9D8:1478FE:197038:206117:699097E4 |
| html-safe-nonce | 24ab4baee45e07cc3e0bbb88025a75300a34a063b99f043f939419d6ea3b0eff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUQ4OjE0NzhGRToxOTcwMzg6MjA2MTE3OjY5OTA5N0U0IiwidmlzaXRvcl9pZCI6IjE4NzUwODAyMDIzMzUzMjgyMjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7927433d8fe820d1ce20eb0ee2765ba0a407f761b2b3f77167d2c0f8c8809aa5 |
| hovercard-subject-tag | issue:1300655757 |
| 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/482/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3a462e882f0d2a6bc9db7abf1fae7221d4e1b9c7ee3a6b441d94c1562843df4c/UnitTestBot/UTBotJava/issues/482 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3a462e882f0d2a6bc9db7abf1fae7221d4e1b9c7ee3a6b441d94c1562843df4c/UnitTestBot/UTBotJava/issues/482 |
| og:image:alt | Description Out gradle plugin collects all declared methods from the class. But sometimes there is no need to test private methods. So we should add a field testPrivateMethods: Boolean to the plugi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mmvpm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| 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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width