Skip to content

Fixed mocking fields in another classes in concrete execution - #2106

Merged
Damtev merged 4 commits into
mainfrom
damtev/concrete_mocks_in_init
Apr 7, 2023
Merged

Damtev merged 4 commits into
mainfrom
damtev/concrete_mocks_in_init

Conversation

@Damtev

@Damtev Damtev commented Apr 6, 2023 •

Copy link
Copy Markdown
Member

Description

Allows to mock fields of another class in the concrete execution.

Fixes #2105.

How to test

Automated tests

org.utbot.examples.mock.fields.ClassUsingClassWithRandomFieldTest.

Manual tests

The test mentioned in the issue.

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.

@Damtev Damtev added comp-instrumented-process Issue is related to Instrumented process ctg-bug-fix PR is fixing a bug labels Apr 6, 2023
@Damtev
Damtev marked this pull request as ready for review April 6, 2023 15:08
@Damtev
Damtev requested review from mmvpm and sergeypospelov April 6, 2023 16:00
@Damtev
Damtev merged commit 7b5463c into main Apr 7, 2023
@Damtev
Damtev deleted the damtev/concrete_mocks_in_init branch April 7, 2023 07:21
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong mocking for fields in Concrete Execution

2 participants