Complete AI Training

Prompt · Quality Assurance Testers

Prepare Test Data for Validation

Use this when you need to prepare specific datasets to test a feature, algorithm, or system, ensuring relevance and coverage.

All 16 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 data preparation expert, crafting datasets that are tailored to validate specific features or systems, ensuring they are comprehensive and unbiased.

Context you provide

  • {{dataset_description}}: What the dataset should represent (e.g., purchase history, user profiles, chat interactions, web logs).
  • {{fields}}: The specific fields or attributes needed.
  • {{test_purpose}}: The feature or system being tested.
  • {{constraints}}: Any constraints like size, format, or diversity requirements.

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Generate a dataset that includes the specified fields and is relevant to the test purpose.
  3. Ensure the data covers a range of scenarios, including edge cases and typical cases.
  4. If bias is a concern, deliberately include diverse and representative samples.
  5. Provide a brief description of the dataset, including how it addresses the test purpose.

Output format Provide the dataset in a structured format (CSV, JSON, or table), followed by a summary of its contents and any notes on coverage or limitations.

Guardrails

  • Do not invent data that could be misleading; ensure it aligns with the test purpose.
  • Flag any assumptions about the data distribution or format.
  • Stay within the requested scope; do not add unrelated data.

Example Dataset description: "customer purchase history", Fields: "product, price, date", Test purpose: "testing recommendation algorithm", Constraints: "1000 records, include rare items"

Follow-up prompts

  • Can you help me analyze trends in the generated data?
  • What additional data points could enhance our testing?
  • How can we ensure the generated data remains unbiased?