Title: Non-deterministic detection by SBOne-Kenobi · Pull Request #2246 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Non-deterministic detection by SBOne-Kenobi · Pull Request #2246 · UnitTestBot/UTBotJava
X Title: Non-deterministic detection by SBOne-Kenobi · Pull Request #2246 · UnitTestBot/UTBotJava
Description: Non-deterministic detection Created the possibility to detect and generate mocks for non-deterministic functions and objects. It reduces the number of flaky tests, especially from fuzzing. Description Fixes #1193 Added new instrumentation. Added new fields in results for found mocks in concrete and fuzzing. How to test Manual tests Run test generation on any class with Random usage. For instance class ClassWithRandom { public int rndSum(int x) { Random r = new Random(); return x + r.nextInt(); } } Expected that tests will be generated with mocks for Random class. Self-check list Check off the item if the statement is true. Hint: [x] is a marked item. Please do not delete the list or its items. I've set the proper labels for my PR (at least, for category and component). PR title and description are clear and intelligible. I've added enough comments to my code, particularly in hard-to-understand areas. The functionality I've repaired, changed or added is covered with automated tests. Manual tests have been provided optionally. The documentation for the functionality I've been working on is up-to-date.
Open Graph Description: Non-deterministic detection Created the possibility to detect and generate mocks for non-deterministic functions and objects. It reduces the number of flaky tests, especially from fuzzing. Descript...
X Description: Non-deterministic detection Created the possibility to detect and generate mocks for non-deterministic functions and objects. It reduces the number of flaky tests, especially from fuzzing. Descript...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/2246
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:77aa5a92-66b6-869a-fcf0-9eed19cc29c7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BC50:1FA359:1276A4:1867AD:698F6C94 |
| html-safe-nonce | 7e23bb52f012e30a3f3e66551e02ec8a7e173602eb90582e60b86aeb83c5fe3f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzUwOjFGQTM1OToxMjc2QTQ6MTg2N0FEOjY5OEY2Qzk0IiwidmlzaXRvcl9pZCI6IjgzNTM1Mjg1OTQzODc5MjIwNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c458340c160dd5bc62d1b44e4814df398afa4e0b1ff1b9e4baf63af16c862812 |
| hovercard-subject-tag | pull_request:1371783377 |
| 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/2246/files |
| twitter:image | https://avatars.githubusercontent.com/u/54807972?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/54807972?s=400&v=4 |
| og:image:alt | Non-deterministic detection Created the possibility to detect and generate mocks for non-deterministic functions and objects. It reduces the number of flaky tests, especially from fuzzing. Descript... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7ab1c9acb90dba91d5e994ebfb6bfb1130e0e0e6aca329cdbbd934d636e22ab6 |
| 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 | 1d6695367a1b2f05addc4030b791720f01693df4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width