Skip to content
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

Add an option to control fuzzing #451 #552

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

Markoutte
Copy link
Collaborator

Description

Adds a slider to control fuzzing into Tools → UTBot. Slider with label "Code analysis" disables symbolic execution when it's set to the leftmost value (Simpler) or disables fuzzer if it's set to the rightmost value (Deeper). Other slider positions dispense time between symbolic execution and fuzzing.

The SettingsWindow was updated according to the Kotlin UI DSL 1.0 guidelines. Fixed an issue when property 'hanging test timeout' was incorrectly deserialized from the settings.

Fixes #451

Type of Change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

Automated Testing

Manual Scenario

  1. Set slider to the leftmost position and generate test: only fuzzer test should be generated
  2. Set slider to the rightmost position and generate test: only symbolic execution test should be generated
  3. Set slider to the middle position and generate test: both fuzzer and symbolic execution test should be generated

Checklist:

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • New documentation is provided or existed one is altered
  • No new warnings
  • New tests have been added
  • All tests pass locally with my changes

@Markoutte Markoutte force-pushed the pelevin/fuzzing_control_option branch from 9fbba4e to a9c5497 Compare July 19, 2022 12:54
@Markoutte Markoutte requested a review from Damtev July 19, 2022 13:22
@Markoutte Markoutte force-pushed the pelevin/fuzzing_control_option branch from a9c5497 to 39f2de0 Compare July 20, 2022 06:05
@Markoutte Markoutte merged commit b7ea573 into main Jul 21, 2022
@Markoutte Markoutte deleted the pelevin/fuzzing_control_option branch July 21, 2022 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Add an option to control fuzzing
4 participants