Skip to content

Improve dependent beans calculation#2310

Merged
EgorkaKulikov merged 9 commits into
mainfrom
egor/correct_dependent_beans_caluclation
Jun 26, 2023
Merged

Improve dependent beans calculation#2310
EgorkaKulikov merged 9 commits into
mainfrom
egor/correct_dependent_beans_caluclation

Conversation

@EgorkaKulikov
Copy link
Copy Markdown
Collaborator

Description

Running Spring code concretely requires resetting some beans because they affect Spring context.
This PR improves the list of beans to reset.

Will be replaced with a better designed solution later, TODO is left in the code.

How to test

Standalone testing is not required, just as a part of full Spring integration test generation testing.

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 ctg-enhancement New feature, improvement or change request comp-instrumented-process Issue is related to Instrumented process comp-spring Issue is related to Spring projects support labels Jun 26, 2023
@EgorkaKulikov EgorkaKulikov marked this pull request as ready for review June 26, 2023 06:41
Comment thread utbot-core/src/main/kotlin/org/utbot/common/ClassLoaderUtil.kt Outdated
Comment thread utbot-framework/src/main/kotlin/org/utbot/sarif/SarifReport.kt Outdated
Comment thread utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api/CoverageApi.kt Outdated
@EgorkaKulikov EgorkaKulikov force-pushed the egor/correct_dependent_beans_caluclation branch from 4ea606f to 75e1574 Compare June 26, 2023 12:36
@EgorkaKulikov EgorkaKulikov enabled auto-merge (squash) June 26, 2023 13:23
@EgorkaKulikov EgorkaKulikov merged commit c17b0a7 into main Jun 26, 2023
@EgorkaKulikov EgorkaKulikov deleted the egor/correct_dependent_beans_caluclation branch June 26, 2023 15:13
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 comp-spring Issue is related to Spring projects support ctg-enhancement New feature, improvement or change request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants