-
Notifications
You must be signed in to change notification settings - Fork 45
Fuzzer improvements #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* Randomize fuzzer inputs * Limit fuzzing attempts * Mutate primitive values according to comparison operations * Mutate string constants * Move fuzz-relative code out of UtBotSymbolicEngine.kt * Test added
| return emptyList() | ||
| } | ||
|
|
||
| @Suppress("UNUSED_PARAMETER") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, add explanation why the parameters are unused, may be it is worth to introduce a default value.
| import kotlin.collections.HashMap | ||
| import kotlin.reflect.KClass | ||
|
|
||
| open class SimpleModelProvider( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my opinion simple is too general term. Could you pick a more specific name? And add some documentation to the class.
| .iterator() | ||
| val combinations = Combinations(*lists.map { it.size }.toIntArray()) | ||
| val sequence = if (random != null) { | ||
| // todo create lazy random algo for this because this method can cause OOME even we take only one value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
even we -> even if we
* Rename SimpleModelProvider with more narrow name * Use interface implementation instead of function with concrete list of parameter * Fix typos
Description
List of changes:
Type of Change
How Has This Been Tested?
Manual Scenario
engine.traverse()function by commenting it in UtBotTestCaseGenerator:185Checklist: