Skip to main content

Add test cases

Modified: 6 Nov 2026 Trimble Agent Studio Workflows Help

Once you've created a test set, you can add additional test cases to it in several ways.

Tip: Grow test sets from production. When users report problems through Feedback, turn the failing conversations into test cases so the fix is verified on every future evaluation run.
  • To manually add test cases in plain text:
    1. Go to Evaluate > Test Sets and select the test set you want to add to.
      The test set opens.
    2. Select Add.
    3. Enter the User prompt (required) and an Expected Output (optional but recommended, as several metrics compare the agent's response against it).

      The Add Test Case form with User prompt and Expected Output
  • To manually add test cases in JSON:
    1. Go to Evaluate > Test Sets and select the test set you want to add to.
      The test set opens.
    2. Select Upload.
    3. Select a JSON file that uses the following template then select Open.
      [
        {
          "recordType": "CONVERSATION",
          "messages": [
            {
              "role": "user",
              "content": "What products do you have under $50?"
            }
          ],
          "expectedOutput": "Here are our products under $50: ..."
        }
      ]
  • To have AI draft test scenarios for your agent, see Create an evaluation job.
Submit

Table of Contents