Skip to content

Testing Workflows

Test workflows before promotion to production.

Test Levels

  • Syntax validation for YAML files.
  • Local execution tests against dev stack.
  • Integration tests with real downstream services.
  • Regression tests for critical business flows.

Practical Test Sequence

  1. Validate YAML and schema.
  2. Run representative payloads against /v1/run/*.
  3. Confirm expected step outputs and side effects.
  4. Inspect traces for branching/retry behavior.
  5. Validate failure paths and compensation behavior.

Suggested Checks

  • Happy path execution.
  • Missing header or invalid auth path.
  • Dependency failure and retry handling.
  • Idempotency behavior for repeated requests.

Useful Endpoints

  • GET /v1/traces
  • GET /v1/traces/{request_id}
  • GET /api/trigger-events