FME Transformers: 2025.1 BETA
TestSuite.InlineValidator
Ensures that the features that enter the Testsuite.InlineValidator is always consistent and never changes.
The InlineValidator needs a file with “_TRUTH.ffs” appended to the end of the file name. This file should reside in the same directory of the workspace containing the InlineValidator. This is known as your TRUTH file and represents your expected (validation) results.
If a TRUTH file does not exist, the InlineValidator will create this file. It is important that you manually ensure that the contents within your TRUTH file looks correct. The process of creating a TRUTH file is referred to as “preparation” mode.
If the TRUTH file does exist, the InlineValidator will write outputs to a temporary directory called “PotentialTruth”. This is known as validation mode. During validation mode, the InlineValidator uses change detection to compare the new output (written to the temporary PotentialTruth directory) to the existing TRUTH file. If these two files are not identical, the test fails
Input Ports
Features to validate. This transformer is not ideal for Rasters since it will not highlight where in the Raster there is a change in pixel value.
Output Ports
None.
Parameters
Sorting
Sets the order that the features will be written out on the TRUTH file.
If the Sorting Method is set to Attribute Key, this is where you select the attribute that serves as your unique key and will dictate the order that feature will be written out.
If the Sorting Method is set to Attribute Key, this is where you select the type of the attribute that serves as your unique key. Options are Alphabetical and Numeric.
Attributes
Specify the strategy for validating your attributes. The option Match Most Attributes will match all attributes in the dataset.
Select specific attributes. This parameter is only needed if the Matching Strategy is set to Match Selected Attributes or Match Most Except Selected Attributes.
Specify if, when validating, you want differentiate between “empty”, “null” and “missing” attribute values. Otherwise, just treat them all as the same thing.
Geometry
Specify how you would like to validate the geometry associated with the features. Options are 2D, 3D, Full, and None.
Specify if you would like to validate the coordinate systems for the geometries in the features.
Gives some leeway when validating geometry, such as if starting point of geometries don’t match, or if geometries are rich vs classic but still appears the same, or if geometries have different orientation.
Gives some leeway when validating geometry appearances. For instance, geometries point to different appearance definitions but these appearances look the same.
Specify if you want your test to differentiate between rich and classic geometry types.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click
beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Transformer Categories
TestSuite Tools (Safe Internal)