Skip to content

Conversation

@GoodforGod
Copy link
Contributor

@GoodforGod GoodforGod commented Jul 4, 2024

  • GraphProxy support when replace component requires itself original as a dependency added
  override fun graph(): KoraGraphModification =
    KoraGraphModification.create()
      .proxyComponent(
        Executor::class.java,
        Function {
          TestExecutor(it)
        },
      )

@GoodforGod GoodforGod added the module: test Related to testing module label Jul 4, 2024
@GoodforGod GoodforGod marked this pull request as draft July 4, 2024 12:43
@github-actions
Copy link

github-actions bot commented Jul 4, 2024

Test Results

579 tests   575 ✅  7m 26s ⏱️
 81 suites    4 💤
 81 files      0 ❌

Results for commit b7c1fa3.

♻️ This comment has been updated with latest results.

@GoodforGod GoodforGod changed the title [Draft] GraphProxy support added [Draft] JUnit graph proxy support added Jul 4, 2024
@GoodforGod GoodforGod requested a review from Squiry July 4, 2024 12:49
@mitasov-ra
Copy link
Contributor

This is the alternative to @Spy, I got it right?

@GoodforGod
Copy link
Contributor Author

This is the alternative to @Spy, I got it right?

и да и нет, тут прикол такой что ты хочешь использовать как бы оригинальный компонент из графа, но обернуть его в какой то свой допустим класс который ты в тестах обьявил и таком еще какое то поведение задал дополнительное (фасад)

@GoodforGod GoodforGod removed the request for review from Squiry August 13, 2025 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: test Related to testing module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants