You are here: Filters > Tester

Tester

Evaluates one or more tests on a feature, and routes the feature according to the outcome of the test(s). The tests can consist of any FME-allowed operands.

Input Ports

Output Ports

Note that you can combine several tests into a single Tester transformer, and the features can be routed toPasseddepending on thePass Criteriabelow.

If you have several Tester transformers in sequence, consider using theTestFilterinstead. This transformer allows you to create a series of tests with ‘named’ output ports for each result.

Parameters

Examples

Attribute Test Condition Result
x=abcd X Contains abcd Passed
x=a, Y=big X In Y Failed
X=100 X < 200 Passed
X=4E5 X=400000

Passed, if Mode set to Automatic

Failed, if Mode set to String

Examples whereModecould be set toAutomaticorNumeric:

@Area() < 100

@Value(numLanes) > 2

Example whereModecould be set toString:

"Joe" = "Jerry"

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, clickbeside the applicable parameter. For more information, seeTransformer Parameter Menu Options.

Transformer Categories

Filters

Transformer History

This transformer replaced the AttributeTester and GenericTester transformers.

Search FME Knowledge Center

Search for samples and information about this transformer on theFME Knowledge Center.

TagsKeywords: AttributeTester "comparison mode" GenericTester "pass criteria" "test clause"