Success Criteria
A criterion is one thing that must be true for a step to count as done right, such as “the email names the renewal date and the account owner.” Every check Cora runs is graded against criteria, so they decide what passing means. An agent keeps two sets:- Test criteria belong to each test scenario. Cora writes them from what you say when you describe how you will know the agent worked. For example: “It worked if the email names the renewal date and the account owner.”
- Live criteria belong to each step of the agent and are checked on every live run. A step with no live criteria is not checked live.
- “Make the renewal step also check that the email has a clear next step.”
- “Add a test where the account has no owner, and check that the agent doesn’t send.”

