-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Description
The current test suite lacks coverage for property type validation. The validate_*_property functions in model_manager/mod.rs (lines 214-236) have no dedicated tests.
Proposed Tests
test_boolean_property_type_mismatch- Should fail when string passed where boolean expectedtest_integer_property_type_mismatch- Should fail when string passed where integer expectedtest_array_property_expects_array- Should fail when non-array passed forisArray: truepropertytest_optional_property_can_be_missing- Optional properties should not cause validation failure when absent
Benefits
- Improved test coverage for core validation logic
- Catches regressions in property type checking
- Documents expected behavior
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels