Skip to content

Conversation

@EgorkaKulikov
Copy link
Collaborator

@EgorkaKulikov EgorkaKulikov commented Apr 18, 2023

Description

Fixes # (2152)

  • Fixed stack overlow in MockValueConstructor
  • Removed legacy code from MockValueConstructor
  • Fixed stack overflow in Codegen hidden by bug in MockValueConstructor

A bug #2158 that one test for positive scenario is generated, but fails the assertion, is created.

How to test

Automated tests

utbot-samples pipeline as a set of regression checks

Manual tests

Scenario from 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.

@EgorkaKulikov EgorkaKulikov added comp-codegen Issue is related to code generator comp-instrumented-process Issue is related to Instrumented process ctg-bug-fix PR is fixing a bug labels Apr 18, 2023
@EgorkaKulikov EgorkaKulikov merged commit 98682a8 into main Apr 19, 2023
@EgorkaKulikov EgorkaKulikov deleted the egor/mockvalueconstructor_mocks_recursion branch April 19, 2023 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-codegen Issue is related to code generator 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.

StackOverflowError in MockValueConstructor for Spring-based method

3 participants