Component test reference

Glossary

Definitions of every Verifier term

Every term Verifier uses, defined once.

  • accidental qualification: a protocol other than the one under test reaching a verdict during an attempt, because the messages exchanged happened to satisfy it too.
  • attempt: one try at one protocol within an iteration, with its own component startup, transports, and teardown.
  • component: the software component under test.
  • connection: a declared message path between two components in the model. Each connection is served by one transport.
  • heartbeat protocol: a protocol annotated @Heartbeat that repeats on a fixed cycle for the length of the attempt instead of ending once. Its verdict is the first failing cycle if any cycle fails.
  • inconclusive: the verdict for a trace or attempt that stayed in a legal state but never reached an end condition.
  • invalid: the verdict for a trace or attempt that cannot progress, because a constraint failed, a message was unexpected, or an expected message never arrived.
  • iteration: one full pass over every protocol in the model. Set the count with the iterations configuration key; results record one entry per iteration under iterations.
  • model: the interface model, a Flex file that describes your component’s messages, connections, and protocols.
  • passive mode: a mode in which Verifier never sends. It listens on the configured connections and validates only what your component sends.
  • protocol: a local protocol declared in the model for your component: a message sequence, its constraints, and its end condition.
  • retry: another name for an attempt, used by the flag that sets how many attempts each protocol gets.
  • serializer: the format used to encode a message into bytes on the wire. Both sides must agree on it. Supported values are listed in verifier docs open config.
  • topic: the label a transport uses to route a message, set in the model with @Topic or mapped in the configuration file.
  • trace: one path through a protocol during an attempt. A protocol that branches has several traces, and each gets its own verdict.
  • transport: the wire mechanism connecting Verifier to your component, for example ZeroMQ, TCP, or MQTT. Listed in verifier docs open transports.
  • valid: the verdict for a trace or attempt that reached the protocol’s end condition with every constraint satisfied.
  • verdict: the outcome recorded for a trace, or for an attempt at a protocol: valid, invalid, or inconclusive.