skip to main content
What's New in Corticon : What's new and changed in Corticon 5.6 : Enhancements to Corticon Studio Tester : Property to disable the trimming of String values
 

Try Corticon Now
Property to disable the trimming of String values
In the Ruletest feature that lets you set expected values for tests, sometimes leading or trailing blanks on String values (called whitespace) cause imprecise matching to the output from rules. While the default behavior of trimming the whitespace is typically preferred, a new property, when set to false, allows you to tell Corticon Studio to not perform trimming, and thus reduce these validation mismatches.
The default behavior is apparent when copying the output to the Expected column, as that action strips whitespaces, and often reveals apparent mismatches immediately. The default value is true.
com.corticon.tester.trimstringvalues=true
This information was added to the topic Corticon Studio properties , and referenced in the topic Testing rule scenarios in the Ruletest Expected panel.