Title: Generate parametrized test for methods without force mocking in Uber and sample tests #591 #596 by sofurihafe · Pull Request #608 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Generate parametrized test for methods without force mocking in Uber and sample tests #591 #596 by sofurihafe · Pull Request #608 · UnitTestBot/UTBotJava
X Title: Generate parametrized test for methods without force mocking in Uber and sample tests #591 #596 by sofurihafe · Pull Request #608 · UnitTestBot/UTBotJava
Description: Description Before this PR, we didn't generate any tests for a whole test class if there were force mocking and parametrized test generation mode in one of the methods. Now, we just exclude methods with force mocking and parametrized mode, generating methods that were not affected by force mocking. Additionally, there was a bug with parametrized test generation trying to use private inner class as a type for one of the parameters. Fixes # (591, 596) Type of Change Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) How Has This Been Tested? Automated Testing Run deepEqualsTest with enabled parametrized test generation. Verify that the generated test class is not empty (there are methods where force mocking didn't take place), instead of being empty after #573.
Open Graph Description: Description Before this PR, we didn't generate any tests for a whole test class if there were force mocking and parametrized test generation mode in one of the methods. Now, we just exclude met...
X Description: Description Before this PR, we didn't generate any tests for a whole test class if there were force mocking and parametrized test generation mode in one of the methods. Now, we just exclude...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/608
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:8d911197-5d55-0696-f7df-d267f38d99b9 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B4B0:10F148:426A1:55BCF:6990335D |
| html-safe-nonce | 922fe20cd8e34da2dd9ca02bc4ae374aa15b6d501db553aeac417a3495ea12de |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEIwOjEwRjE0ODo0MjZBMTo1NUJDRjo2OTkwMzM1RCIsInZpc2l0b3JfaWQiOiIxNDM0NjA4NTk4NjM4NDA4NTQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3225967ebc7a20d13042a8060a2b6d6f344045f59402f9270f02595de310636b |
| hovercard-subject-tag | pull_request:1010879070 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/608/checks |
| twitter:image | https://avatars.githubusercontent.com/u/54685068?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/54685068?s=400&v=4 |
| og:image:alt | Description Before this PR, we didn't generate any tests for a whole test class if there were force mocking and parametrized test generation mode in one of the methods. Now, we just exclude met... |
| og:site_name | GitHub |
| og:type | object |
| 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 full-width full-width-p-0 |
| 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