Skip to content

Conversation

alxkm
Copy link
Contributor

@alxkm alxkm commented Aug 7, 2025

Adds comprehensive edge case tests to improve robustness and test coverage for two core components.

Changes

MimeTypeDetector Tests

  • Invalid input handling (whitespace-only strings)
  • Case sensitivity validation (uppercase vs lowercase extensions)
  • Method consistency across overloads (String, File, Path)
  • URL parsing with unsupported extensions

CoherenceFilterExpressionConverter Tests

  • Data type support (boolean, numeric, string values)
  • Special character handling in strings
  • Empty string and mixed-type array operations
  • Single value IN operations

Benefits

Improves production reliability through better error handling
Ensures consistent API behavior across different input types
Increases test coverage for critical edge cases

alxkm added 2 commits August 7, 2025 10:48
Tests CoherenceFilterExpressionConverter handling of greater-than-or-equal

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