Repository navigation
Release v4.185.0
Applications and tools that read the executable model can now check a value against a concept's rules through Screenplay's own evaluator, instead of keeping a copy of it.
Added
SemanticValidationRules.CheckinCratis.Screenplay.Semanticschecks a value against one rule, against every rule of a concept, or against a type, walking composites and collections. EachSemanticRuleChecksays whether the rule was satisfied, failed or could not be evaluated, and carries the rule, its message and, formatches, the pattern check. It is the same implementation the reference evaluator uses: absent values pass every rule except not-empty, text compares ordinally, numbers compare as exact decimals, and Studio text-rule patterns evaluate as their first-class rule. See Check values against validation rules. (#811)