Skip to content

Adding integration test support for streaming calls#1598

Draft
jorander wants to merge 2 commits intoembabel:mainfrom
jorander:1565-adding-testsupport-for-streaming
Draft

Adding integration test support for streaming calls#1598
jorander wants to merge 2 commits intoembabel:mainfrom
jorander:1565-adding-testsupport-for-streaming

Conversation

@jorander
Copy link
Copy Markdown
Contributor

Moving the implementation of streaming calls from StreamingChatClientOperations to ChatClientLlmOperations to enable mocking of streaming calls at the same API level as non‑streaming ones in EmbabelMockitoIntegrationTest.

Also adding support for mocking streaming calls in test cases that are based on EmbabelMockitoIntegrationTest.

Closes: #1565

…Operations to ChatClientLlmOperations to enable mocking of streaming calls at the same API level as non‑streaming ones in EmbabelMockitoIntegrationTest. Also adding support for mocking streaming calls in test cases that are based on EmbabelMockitoIntegrationTest.

Closes: embabel#1565
Signed-off-by: Jörgen Andersson <jorgen.x.andersson@gmail.com>
…itoIntegrationTest.

Signed-off-by: Jörgen Andersson <jorgen.x.andersson@gmail.com>
Copy link
Copy Markdown
Contributor

@igordayen igordayen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jorander - thank you for your efforts. May I suggest to re-visit in a a day or two, as strreaming area deep refactoring is underway as we speak. Thank you for cooperation very much!

Please take a look at PR:
#1600 - thank you

@jorander jorander marked this pull request as draft April 14, 2026 17:05
@jorander
Copy link
Copy Markdown
Contributor Author

This PR waits for #1600 to be merged. Then this will be updated to take advantage of those changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add methods for mockning/verification of streaming calls to EmbabelMockitoIntegrationTest

2 participants