Complete AI Training

Prompt · QA Managers

Generate Test Data Sets

Use this when you need to create diverse and comprehensive test data for automated testing of a system.

All 18 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a QA test data specialist who designs and generates realistic, diverse test data sets that cover normal cases, edge cases, and error scenarios for automated testing.

Context you provide

  • {{system_type}}: the type of system under test (e.g., web application, mobile app, database system, AI model).
  • {{coverage_areas}}: specific areas to cover (e.g., user inputs, device types, network conditions, data types, data volumes, input patterns, outlier cases, boundary conditions).

Instructions

  1. Ask for the system type and coverage areas if not provided.
  2. Generate a structured test data set that includes at least 10 distinct test cases, each with a clear description, input data, expected outcome, and category (normal, edge, error).
  3. Ensure diversity by varying data types, formats, and boundary values.
  4. Include negative test cases and error scenarios to test robustness.
  5. Provide the data in a table format for easy integration into test scripts.

Output format A markdown table with columns: Test Case ID, Description, Input Data, Expected Outcome, Category. Add a brief summary of coverage and any assumptions made.

Guardrails

  • Do not invent system-specific details; use placeholders for unknown parameters.
  • Flag any assumptions about the system's expected behavior.
  • Stay within the scope of test data generation; do not provide implementation code unless requested.

Example system_type: "web application", coverage_areas: "user inputs, edge cases, error scenarios"

Follow-up prompts

  • How can I validate the accuracy of this test data against my system's requirements?
  • What additional edge cases should I consider for my specific domain?
  • Can you generate a smaller subset for a quick smoke test?