Skip to content

Conversation

@SBOne-Kenobi
Copy link
Collaborator

@SBOne-Kenobi SBOne-Kenobi commented Jan 19, 2023

Description

Sometimes we need to change behavior of concrete executor by ignoring some exceptions. Especially fuzzing could create wrong models and it's ok.
The solution is add a specialisation class and provide it with invocation parameters to concrete executor.
Also added a special decorator UtConcreteExecutionForceException for exceptions that forces wrapped exceptions avoiding any handling.

Fixes #1117
Fixes #1590

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Manual Scenario

Described in issues above.

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

@alisevych alisevych added ctg-enhancement New feature, improvement or change request comp-instrumented-process Issue is related to Instrumented process ctg-bug-fix PR is fixing a bug labels Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-instrumented-process Issue is related to Instrumented process ctg-bug-fix PR is fixing a bug ctg-enhancement New feature, improvement or change request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Concrete executor fails when generating tests for sockets InvocationTargetException for constructors with UtMock.assume() and Fuzzing on

2 participants