Table of Contents

<test> Element

This element adds a test that will be required for units.

Parent Elements

tests

Attributes

Name Type Description Required
name string A short, human-readable name for the test. This name is used when referring to the test in screen prompts. Yes
associatedBuyoffs string A comma-separated list of buyoff names specifying which buyoffs are associated with this test type. The associated buyoff(s) cannot be set until the latest test of this type has been marked as passed. If this test is later marked as failed, any associated buyoffs that were previously set will be cleared. No
optional boolean Whether this should be considered optional for a unit, making this informational only. If this is true, then this will be ignored when performing final checks or sequence checks. This is useful for testing, or for adding this temporarily so that units already on the line will not be rejected. Typically, when this is true, associatedBuyoffs should not be set. No (defaults to false)
sequence float Defines the sequence number for this test, used by sequence checks. See sequenceCheck for <onUnitRelease> or <onUnitScan> for more information. No

Child Elements

Name Description Required
authorization Defines the authorization for overriding tests. This replaces any default authorization specified by the <tests> element. Only the Override permission type is applicable. No
unitFilter Defines the units for which this test will be required. If this is not specified, it will be required for all units. No