Skip to content

Conversation

@alxkm
Copy link
Contributor

@alxkm alxkm commented Jul 26, 2025

PR Description:
Adds additional test methods to MongoDBAtlasFilterConverterTest to improve test coverage for the MongoDB Atlas filter expression converter. Tests cover missing operators (LT, GT, NIN), edge cases (null values, empty strings, special characters), data types (long, float, boolean), list operations, and complex nested expressions with domain-neutral terminology.

Key additions:

  • Basic comparison operators: testLt(), testGt(), testLte()
  • List operations: testNin(), testEmptyList(), testSingleItemList(), testMixedTypesList()
  • Edge cases: testNullValue(), testEmptyString(), testZeroValues(), testVeryLongString()
  • Data types: testLongValue(), testFloatValue(), testBooleanFalse(), testNumericString()
  • Complex expressions: testComplexNestedGroups(), testTripleAnd(), testTripleOr()
  • Key variations: testKeyWithDots(), testKeyWithSpecialCharacters()

@alxkm alxkm changed the title test: Add comprehensive test coverage for MongoDBAtlasFilterExpressionConverter test: Add comprehensive test coverage for MongoDBAtlasFilterExpressionConverter Aug 4, 2025
@sobychacko sobychacko added this to the 1.1.0.M1 milestone Aug 6, 2025
@sobychacko sobychacko merged commit 027f464 into spring-projects:main Aug 6, 2025
2 checks passed
scionaltera pushed a commit to scionaltera/spring-ai that referenced this pull request Sep 3, 2025
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