Operators
Operators used to validate the outputs of the app.
Validation Operators Reference
This section outlines the available validation operators used during test case evaluations. These operators allow for flexible and expressive validation of application responses against expected outputs.
'date_format' - Validates that the application data matches a specific date format or a list of date-formatted strings.
'df' - Alias for 'date_format'. Performs the same validation.
'dd' - Directly compares whether the application data exactly equals the test data.
'is_url' - Validates that the application data is a properly structured URL.
'is_date' - Validates that the application data is recognized as a valid date.
'is_number' - Checks if the application data is a numerical value.
'is_json' - Validates that the application data is in valid JSON format.
'length_eq' - Verifies that the length of the application data equals the expected length.
'leq' - Alias for 'length_eq'. Performs the same check.
'endswith' - Checks if the application data ends with the specified test data.
'ew' - Alias for 'endswith'.
'eq' - Compares whether the application data is equal to the test data.
'=' - Alias for 'eq'.
'le' - Checks if the application data is less than or equal to the test data.
'<=' - Alias for 'le'.
'lt' - Checks if the application data is strictly less than the test data.
'<' - Alias for 'lt'.
'ge' - Checks if the application data is greater than or equal to the test data.
'>=' - Alias for 'ge'.
'gt' - Checks if the application data is strictly greater than the test data.
'>' - Alias for 'gt'.
'heq' - Compares the SHA256 hash of the application data against the SHA256 hash of the expected output.
'hash_eq' - Alias for 'heq'.
'jeq' - Compares if JSON-parsed application data is equal to JSON-parsed test data.
'json_eq' - Alias for 'jeq'.
'kveq' - Compares key-value structures between application data and test data.
'keyvalue_eq' - Alias for 'kveq'.
'ne' - Validates that the application data is not equal to the test data.
'!=' - Alias for 'ne'.
'rex' - Validates that the application data matches the given regular expression pattern.
'skip' - Skips validation for this case and always returns True.
'startswith' - Checks if the application data begins with the test data.
'sw' - Alias for 'startswith'.Updated 12 months ago