SpecFormula AI
ISABackendInstructions

Instructions Overview

All instructions supported by SpecFormula ISA

Instructions are the core components of SpecFormula test specifications, with each instruction corresponding to a specific test operation.

Available Instructions

InstructionPurpose
ApiCallExecute HTTP API requests
EntitySetupPrepare test data (INSERT)
ResponseValidateValidate API responses
EntityValidateValidate database record exists
EntityNonExistenceValidateValidate database record does not exist
TimeControlControl mock time

Mapping Instructions to Gherkin

Instructions are mapped to Gherkin Step text through regular expressions defined in isa.yml:

instructions:
  - name: API call
    format: ^\((?:No Actor|UID="(?P<userId>\$[\w.]+)")\) (?P<summary>.+?), call table:$
    instruction_type: api_call

When a Gherkin Step matches the regular expression, the framework executes the corresponding instruction logic.

On this page