Test a chatbot’s follow-ups with a set of short synthetic conversations and explicit expected state.
Build the example
For a hobby-class assistant, collect city, day and level. A user may supply all three at once, change one later or answer with something ambiguous. Store the slots separately from generated prose and test whether the next question requests only what is missing.
Build an expectation table for conversation state after each turn. The user says “Saturday in Pune,” then “actually Sunday,” then “beginner.” The final state should retain the city and level and replace the day. A model’s response text may vary, so assert structured state and the intended next action before judging phrasing.
Watch the failure boundary
Add a test that supplies several valid details followed by an unrelated request. The assistant should retain the relevant state without treating every sentence as an update. Record invalid and missing values separately. A slot already filled with a questionable answer may need a clarification even though it is present.
Verify the behavior
Add a transcript that starts with Saturday and later corrects it to Sunday. Verify the old value is replaced and that the bot never claims to book a class. Judge the state transitions and tool calls independently from wording. A natural-sounding reply can still carry the wrong day.
Sources
Technical references checked .



