Title: Enhance fuzzing for arrays #738 by volivan239 · Pull Request #755 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Enhance fuzzing for arrays #738 by volivan239 · Pull Request #755 · UnitTestBot/UTBotJava
X Title: Enhance fuzzing for arrays #738 by volivan239 · Pull Request #755 · UnitTestBot/UTBotJava
Description: Description
Now, ArrayModelProvider generates more interesting tests:
each element of array is generated recursively by fuzzing synthetic method.
arrays with "interesting" small sizes are added ("interesting" means that this number is obtained from source code)
Fixes #738
Type of Change
New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Manual Scenario
Generate tests for methods from ArrayExample class (using only fuzzer):
class Point {
int x, y;
public Point(int x, int y) {
this.x = x;
this.y = y;
}
boolean equals(Point other) {
return (other.x == this.x && other.y == this.y);
}
}
public class ArrayExample {
boolean checkAllSame(Integer[] a) { // Fuzzer should find parameters giving true as well as parameters giving false
Set
Open Graph Description: Description Now, ArrayModelProvider generates more interesting tests: each element of array is generated recursively by fuzzing synthetic method. arrays with "interesting" small sizes ar...
X Description: Description Now, ArrayModelProvider generates more interesting tests: each element of array is generated recursively by fuzzing synthetic method. arrays with "interesting" small ...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/755
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:40391dae-6231-b385-de16-3c728be2f138 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9A54:90DD2:18EE1A:214221:698E4C86 |
| html-safe-nonce | 41b8fd40ab124db36aeaa07666fd4364a493f02b510a557bdf79dae73e1c5947 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTU0OjkwREQyOjE4RUUxQToyMTQyMjE6Njk4RTRDODYiLCJ2aXNpdG9yX2lkIjoiNzcyNjI1MTI3OTM5MTgwNDU1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1d136434f018ff9117327b67660b70ca7f5ce2128da644e165386267a789de30 |
| hovercard-subject-tag | pull_request:1032671125 |
| 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/755/checks |
| twitter:image | https://avatars.githubusercontent.com/u/65076429?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/65076429?s=400&v=4 |
| og:image:alt | Description Now, ArrayModelProvider generates more interesting tests: each element of array is generated recursively by fuzzing synthetic method. arrays with "interesting" small sizes ar... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e08b85f0035d49bc4c22868f70a4d30fb8c2a777936895c37e78df095242ddc |
| 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 | ab1cf30f0feb8db377fc0d52bc41f0105f9b4181 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width