Skip to content

Conversation

@tepa46
Copy link
Collaborator

@tepa46 tepa46 commented Jul 11, 2023

Description

Fixes #2386

Now a separate SetField() is prescribed for non-Mock fields

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.

@tepa46 tepa46 added comp-codegen Issue is related to code generator ctg-bug-fix PR is fixing a bug comp-spring Issue is related to Spring projects support labels Jul 11, 2023
@tepa46 tepa46 requested a review from EgorkaKulikov July 11, 2023 08:17
@EgorkaKulikov EgorkaKulikov changed the title Fix incorrect injection in Spring unit test generation Do not miss non-injected fields in Spring unit test generation Jul 11, 2023
@EgorkaKulikov EgorkaKulikov merged commit 9475bbd into main Jul 11, 2023
@EgorkaKulikov EgorkaKulikov deleted the kirill/Cg-fix branch July 11, 2023 11:41
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-spring Issue is related to Spring projects support ctg-bug-fix PR is fixing a bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Failing Spring unit test is generated (possibly due to incorrect injection)

3 participants