Title: Support mock strategies and type replacement in Spring unit test fuzzing by IlyaMuravjov · Pull Request #2561 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Support mock strategies and type replacement in Spring unit test fuzzing by IlyaMuravjov · Pull Request #2561 · UnitTestBot/UTBotJava
X Title: Support mock strategies and type replacement in Spring unit test fuzzing by IlyaMuravjov · Pull Request #2561 · UnitTestBot/UTBotJava
Description: Description Makes fuzzing in Spring unit tests respect mock strategy and type replacement: All types are replaced according to selected Spring configuration before they are passed to actual value providers. MockValueProvider is used if mock strategy allows it and type isn't replaced, otherwise ObjectValueProvider is used (MockValueProvider is also used when no other way to create non-null value is found) InjectMockValueProvider (one that outputs composite models) is only used to create thisInstance. How to test Manual tests Generate unit tests with every mocking strategy (including Spring-specific mocking strategy that uses Spring configuration) for spring-boot-testing project. Self-check list 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: Description Makes fuzzing in Spring unit tests respect mock strategy and type replacement: All types are replaced according to selected Spring configuration before they are passed to actual value ...
X Description: Description Makes fuzzing in Spring unit tests respect mock strategy and type replacement: All types are replaced according to selected Spring configuration before they are passed to actual value ...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/2561
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:498a6d59-a2ab-4302-af4f-86cec6fb99a6 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E618:3BFD01:10FFA0C:1750E4B:698E2072 |
| html-safe-nonce | be4657e95b92e14c69563ba7297bf6aea7c05e63c8d4d6c2f64b9e4d61182179 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjE4OjNCRkQwMToxMEZGQTBDOjE3NTBFNEI6Njk4RTIwNzIiLCJ2aXNpdG9yX2lkIjoiNTczNDYyMjgyOTEwMzQyMzYwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 18c7adefaf816a5c7440fdf47027b137c72d0f28b5b8127e97efcdad41e63dab |
| hovercard-subject-tag | pull_request:1491748988 |
| 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/2561/checks |
| twitter:image | https://avatars.githubusercontent.com/u/71839386?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/71839386?s=400&v=4 |
| og:image:alt | Description Makes fuzzing in Spring unit tests respect mock strategy and type replacement: All types are replaced according to selected Spring configuration before they are passed to actual value ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d71262819a4a68a7786924c05495bfd40a7561e4258dd129ba36f53d667639a |
| 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 | 1d904ac995eb43f93014fbdbcc9ae5878653c932 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width