Title: Symbolic engine dies trying analyze large enum with `static` initializer block (e.g. `HttpStatusCode`) · Issue #2439 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Symbolic engine dies trying analyze large enum with `static` initializer block (e.g. `HttpStatusCode`) · Issue #2439 · UnitTestBot/UTBotJava
X Title: Symbolic engine dies trying analyze large enum with `static` initializer block (e.g. `HttpStatusCode`) · Issue #2439 · UnitTestBot/UTBotJava
Description: Description Symbolic engine is unable to generate any test for the following method in 60 seconds even when Mock everything outside the class mocking strategy is used and Mock static methods is enabled (HttpStatus class can be found here...
Open Graph Description: Description Symbolic engine is unable to generate any test for the following method in 60 seconds even when Mock everything outside the class mocking strategy is used and Mock static methods is ena...
X Description: Description Symbolic engine is unable to generate any test for the following method in 60 seconds even when Mock everything outside the class mocking strategy is used and Mock static methods is ena...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/2439
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Symbolic engine dies trying analyze large enum with `static` initializer block (e.g. `HttpStatusCode`)","articleBody":"**Description**\r\n\r\nSymbolic engine is unable to generate any test for the following method in 60 seconds even when `Mock everything outside the class` mocking strategy is used and `Mock static methods` is enabled (`HttpStatus` class can be found here: [HttpStatus.zip](https://github.com/UnitTestBot/UTBotJava/files/12144794/HttpStatus.zip)).\r\n\r\n```java\r\npublic HttpStatus methodUnderTest() {\r\n return HttpStatus.OK;\r\n}\r\n```\r\n\r\n**To Reproduce**\r\n\r\nSettings:\r\n* `100% Symbolic execution`\r\n* `Mock everything outside the class` mocking strategy\r\n* `Mock static methods` enabled\r\n\r\nGenerate tests for `methodUnderTest()`.\r\n\r\n**Expected behavior**\r\n\r\nOne test is generated\r\n\r\n**Actual behavior**\r\n\r\nNo tests are generated","author":{"url":"https://github.com/IlyaMuravjov","@type":"Person","name":"IlyaMuravjov"},"datePublished":"2023-07-24T10:33:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2439/UTBotJava/issues/2439"}
| 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:25d5517c-cda3-0f9c-06f9-2d1f387a89e0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE90:28904:66DA8A:8D9796:698E0790 |
| html-safe-nonce | 3b7f1569d67fef7227814c09c8d9fded7e57b7d3a156535c03cf8aaa03113c60 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTkwOjI4OTA0OjY2REE4QTo4RDk3OTY6Njk4RTA3OTAiLCJ2aXNpdG9yX2lkIjoiNTM2NDE3MDc3MTU2MzE1MzI5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6eff0653278b564dd55a3d4f4ad6b7a45e2638381715611f85fc6c1b77d5e904 |
| hovercard-subject-tag | issue:1818134780 |
| 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/2439/issue_layout |
| twitter:image | https://opengraph.githubassets.com/19cef0fd082e2e790cc60e6f23159204a531b807bca822f0e016e8294636b301/UnitTestBot/UTBotJava/issues/2439 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/19cef0fd082e2e790cc60e6f23159204a531b807bca822f0e016e8294636b301/UnitTestBot/UTBotJava/issues/2439 |
| og:image:alt | Description Symbolic engine is unable to generate any test for the following method in 60 seconds even when Mock everything outside the class mocking strategy is used and Mock static methods is ena... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | IlyaMuravjov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 70a88bfe6d9639434ae7f5a46d15c336b8884978a51526bc55fc57d848f1e3c1 |
| 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 | 2519b16db5550494a653f9a8837c14ef7df80804 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width