Support Min/Max Constraints for Data Validation
User Story
As a data validator, I want to the system to support minimum and maximum constraints, So that I can ensure the generated or validated data respects predefined boundaries and maintains data integrity..
Acceptance Criteria
Data simulation
-
The system allows defining min and max constraints for data fields. -
The simulated data respects the defined min/max constraints. -
The system provides a clear error or warning if constraints cannot be met during simulation.
Data validation
-
The system validates incoming data against the defined min/max constraints. -
Any data outside the constraints is flagged with appropriate error messages. -
Validation results are logged for debugging and analysis purposes.
Configuration Management
-
Constraints can be updated and applied dynamically.
Test Coverage:
-
Automated tests cover both valid and invalid cases for simulation and validation. -
Edge cases, such as equal min and max values or missing constraints, are tested.
Tasks
-
Task 1: Update simulation package. -
Task 2: Update dm package.
Edited by Jean-Christophe Malapert