How They Use AI  |  Newest

<< Home  |  Work

Generated 500+ test cases in ~30 minutes

AreaWork
AI usedAny
Sourcer/ChatGPTCoding
Posted2025-12-10

The move

Use your product documentation and existing production data as context to programmatically generate synthetic test scenarios.

Steps

  1. Gather your product documentation and 10-20 real production conversation examples.
  2. Create a prompt that instructs the AI to generate inputs, expected outputs, personas, and edge cases based on your provided context.
  3. Generate a batch of 500 examples, including specific instructions for messy user behavior like typos.
  4. Review a sample of 20 examples to identify patterns and refine your prompt.
  5. Validate the generated data against your JSON schema before using it for testing.

Prompt for your AI

Act as a QA engineer. Using the following documentation: [Insert Docs] and these example conversations: [Insert Examples], generate 50 synthetic customer support scenarios. For each, provide: Input query, Expected output, User persona, and Context. Include edge cases, typos, and incomplete thoughts to make the data realistic.

What happened

The developer spent days manually writing test cases for a customer support agent. By feeding product documentation and real conversation examples into an LLM, they automated the creation of diverse test scenarios. This process reduced the time spent from days to 30 minutes while maintaining high quality.

Watch out

Synthetic data often lacks the messiness of real users, so you must explicitly prompt for typos and errors. Always validate generated data against a strict schema before use.

Give it to your agent

Read https://howtheyuse.ai/p/generated-500-test-cases-in-30-minutes.md and help me do this.

Sources



Last updated November 26, 2026.