Zum Hauptinhalt springen

Loops and conditions in msg.ZenTestAI

Make tests adapt to data and context.

This video shows the two ways msg.ZenTestAI expresses control flow. We write a condition and a loop in plain language — the quickest option for simple cases — and then reach for the structured, parameter-driven settings when correctness matters: gating a step on a parameter comparison that is evaluated deterministically, without the AI. The same idea powers conditions and loops on activities and snippets.