Skip to content

test: Add comprehensive test coverage for QdrantObjectFactory and QdrantVectorStore.Builder #4051

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

alxkm
Copy link
Contributor

@alxkm alxkm commented Aug 7, 2025

Changes

QdrantObjectFactory: Added 5 tests covering empty maps, primitive types, unset values, null input validation, and mixed data types
QdrantVectorStore.Builder: Added 7 tests covering dependency preservation, configuration immutability, null handling, build-time validation, strategy retention, collection name edge cases, and builder pattern integrity

Key Improvements

Better error handling validation with proper exception testing
Edge case coverage for boundary conditions (empty inputs, single characters, numeric names)
Type safety verification (protobuf long vs int handling)
Builder pattern compliance testing

Increases test reliability and prevents potential runtime issues in production.

@alxkm alxkm changed the title test: Add comprehensive test coverage for QdrantObjectFactory and QdrantVectorStore.Builder test: Add comprehensive test coverage for QdrantObjectFactory and QdrantVectorStore.Builder Aug 7, 2025
Add comprehensive test coverage for QdrantObjectFactory and QdrantVectorStore.Builder.

Co-authored-by: Oleksandr Klymenko <[email protected]>
Signed-off-by: Oleksandr Klymenko <[email protected]>
@sobychacko sobychacko added this to the 1.1.0.M1 milestone Aug 7, 2025
@sobychacko
Copy link
Contributor

Merged via 5b195a4

@sobychacko sobychacko closed this Aug 7, 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