Skip to content

Conversation

@alxkm
Copy link
Contributor

@alxkm alxkm commented Aug 3, 2025

Enhances test coverage for VectorStoreChatMemoryAdvisor by adding positive test cases to complement existing validation tests.

Changes:

  • Add tests for successful builder construction with valid parameters
  • Add edge case testing for boundary values (minimum/maximum topK)
  • Add test for blank string validation in conversationId
  • Add tests for builder reusability and custom component injection
  • Improve overall test coverage from validation-only to include happy path scenarios

These tests ensure the builder pattern works correctly for all valid configurations and parameter combinations.

@sobychacko sobychacko added this to the 1.1.0.M1 milestone Aug 5, 2025
@sobychacko sobychacko merged commit 1f1e9c0 into spring-projects:main Aug 5, 2025
2 checks passed
scionaltera pushed a commit to scionaltera/spring-ai that referenced this pull request Sep 3, 2025
…ring-projects#3985)

Signed-off-by: Alex Klimenko <[email protected]>
# Conflicts:
#	advisors/spring-ai-advisors-vector-store/src/test/java/org/springframework/ai/chat/client/advisor/vectorstore/VectorStoreChatMemoryAdvisorTests.java
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
Willam2004 pushed a commit to Willam2004/spring-ai that referenced this pull request Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants