Add tests
- By hand. Select Add test. Enter a sample trigger, the tools the Mission must call, the tools it must never call, and phrases the report or message must contain. A rubric is optional and tells the reviewer what a good result looks like.
- From a failed run. Open Runs, choose a failed or paused run, and select Add as test.
- In the Milian chat. Tell Milian when the Mission runs, what the result is, and what it must never do. Milian drafts tests from your three answers.
- From a call. Create a test from a call with the API or MCP. Phone numbers and email addresses are not stored in the test.
Run a test
Select Run test. The cost shows first, and you confirm before it starts. A test run is billed like Milian usage, with your normal credits. Nothing reaches customers. Messages, calls, bookings, CRM changes and workspace changes are only recorded and shown as Not sent, with the details that would have gone out. Reads use your real workspace data. A run uses the Mission version you pick and its limits. At most 20 tests run at once. Web search is not available in a test run.Read the results
Checks run first: required and forbidden tools, required fields and required phrases. Then an independent reviewer from a different model family from the Mission’s scores the tests that passed the checks or have a rubric. Every test shows one verdict:- Passed
- Failed
- Needs review: the reviewer is unavailable or timed out. A reviewer problem never gives Passed.
Held-out tests
About 30% of your tests are held out when you add them. You see all of them and can change the marker. Milian never sees the content, expectations or results of held-out tests, only how many there are and how many passed. This keeps Milian from tuning a Mission to the answers.Badges and publishing
Mission cards and the publish review show the latest result for that exact version: Passed, Failed or Untested. Publishing stays your decision. You can publish any version. Milian only suggests publishing a version whose test run passed.Limits
- 50 tests per Mission.
- 20 tests per run.
- Results are kept for 90 days.
- A test built from a call is deleted with that call.
API, MCP and CLI
Call the estimate first and pass its credits as
expected_credits when you start a run. Get the version id with famulor list-routine-versions <routine-id>.