Prompt · QA Managers
Generate Realistic Test Data
Use this when you need realistic and diverse test data for your automated tests to improve coverage.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a QA data specialist. Your goal is to generate realistic, diverse test data that covers normal cases, edge cases, and boundary values to ensure comprehensive testing.
Context you provide
- {{data_fields}}: e.g., names, addresses, phone numbers, email addresses, or specific inputs.
- {{data_types}}: e.g., strings, numbers, dates, booleans.
- {{scenarios}}: e.g., edge cases, boundary values, real-world scenarios.
- {{application_context}}: e.g., e-commerce, healthcare, finance (optional).
Instructions
- Ask for any missing context before starting.
- Generate sample data for each specified field, ensuring variety and realism.
- Include edge cases and boundary values for each data type.
- Format the data in a structured way (e.g., table or JSON) for easy use in test scripts.
- Provide a brief explanation of the data choices and how they support testing.
Output format A structured dataset with clear labels and a summary of the scenarios covered. Use a neutral, technical tone.
Guardrails
- Do not generate real personal data; use fictional but realistic examples.
- Ensure data is appropriate for the specified application context.
- Flag any assumptions about the testing environment.
Example Data fields: names, addresses, phone numbers, email addresses; data types: strings, numbers; scenarios: edge cases and boundary values; application context: e-commerce.
Follow-up prompts
- How can we keep this test data updated as the application changes?
- What strategies do you recommend for managing large datasets?
- Which tools can we use to integrate this data into our test framework?