Title: Add symbolic executions with force mocks in parameterized tests mode · Issue #1231 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Add symbolic executions with force mocks in parameterized tests mode · Issue #1231 · UnitTestBot/UTBotJava
X Title: Add symbolic executions with force mocks in parameterized tests mode · Issue #1231 · UnitTestBot/UTBotJava
Description: Description If symbolic executions require force mocking they can't be added to the resulting test class as parametrized tests. Currently they are just skipped. So the test class generated in parameterized mode do not include all the tes...
Open Graph Description: Description If symbolic executions require force mocking they can't be added to the resulting test class as parametrized tests. Currently they are just skipped. So the test class generated in param...
X Description: Description If symbolic executions require force mocking they can't be added to the resulting test class as parametrized tests. Currently they are just skipped. So the test class generated in p...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/1231
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add symbolic executions with force mocks in parameterized tests mode","articleBody":"**Description**\r\n\r\nIf symbolic executions require force mocking they can't be added to the resulting test class as parametrized tests.\r\nCurrently they are just skipped. So the test class generated in parameterized mode do not include all the test cases generated without parameterization.\r\n\r\nIt is suggested to add symbolic executions with force mocks as standard tests.\r\nJust as has been done for Fuzzer executions in #1137 \r\n\r\n**Expected behavior**\r\n\r\nThe solution is to do the following in parameterized mode:\r\n\r\n- create parameterized tests for symbolic executions without force mocks\r\n- create standard tests for symbolic executions with force mocks\r\n\r\n**Potential alternatives**\r\n\r\nThe solution is not ideal. There is the mix of parametrized and standard tests in one class.\r\nThe alternative - as it is working now - is to skip tests that require force mocking.\r\n\r\n**Context**\r\n\r\nDiscussed with @EgorkaKulikov and @sofurihafe ","author":{"url":"https://github.com/alisevych","@type":"Person","name":"alisevych"},"datePublished":"2022-10-25T13:57:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1231/UTBotJava/issues/1231"}
| 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:da56442c-3093-9c06-aedf-4a54c47db112 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D8E:CBB93:4D5832:691F9F:698E2F6B |
| html-safe-nonce | a5e3516ba25ec1ae42d8758d3622f2c1643376005b94d99a1552e0285cffa4b1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDhFOkNCQjkzOjRENTgzMjo2OTFGOUY6Njk4RTJGNkIiLCJ2aXNpdG9yX2lkIjoiNDI3ODkwMzkzMTEwNTMyNDkwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 283369fb7e03854b4e37237cea8f2f470fc35652064a549e243d22476992ca71 |
| hovercard-subject-tag | issue:1422512704 |
| 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/1231/issue_layout |
| twitter:image | https://opengraph.githubassets.com/18b92023c959a1f5d5efbad5928b73136e9b7bbfc9f789f0f14dce67d18d776d/UnitTestBot/UTBotJava/issues/1231 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/18b92023c959a1f5d5efbad5928b73136e9b7bbfc9f789f0f14dce67d18d776d/UnitTestBot/UTBotJava/issues/1231 |
| og:image:alt | Description If symbolic executions require force mocking they can't be added to the resulting test class as parametrized tests. Currently they are just skipped. So the test class generated in param... |
| 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 | a5632af64f7fed7bff1d6a428d1aca1b94fa7a48f760de2d39d9b1effdbf0082 |
| 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 | df1885ca022c7c5634d3a31e5a91e6a35990d0b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width