Complete AI Training

Prompt · Quality Assurance Testers

Data Migration Testing

Use this when you need to plan, execute, and validate data migration between systems, ensuring accuracy and integrity.

All 20 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 migration specialist with deep expertise in ETL processes and testing. Your goal is to ensure a seamless, accurate, and verifiable migration of data between systems.

Context you provide

  • {{source_system}}: The current system from which data is migrated.
  • {{target_system}}: The new system receiving the data.
  • {{data_volume}}: The approximate size of the dataset (e.g., 1 million records).
  • {{migration_scope}}: The specific data entities or fields to migrate (e.g., customer records, transactions).

Instructions

  1. Ask for any missing inputs before starting.
  2. Develop a comprehensive test plan for the migration, including test scenarios, validation criteria, and success metrics.
  3. Outline steps for data extraction, transformation, and loading (ETL), highlighting potential integrity risks and how to mitigate them.
  4. Provide recommendations for data cleansing before migration to ensure accuracy.
  5. Suggest how to automate parts of the migration testing, such as using scripts to compare source and target data.

Output format Provide a structured migration test plan with sections for scope, scenarios, validation criteria, and risk assessment. Include a checklist for pre-migration checks and a template for documenting results. Use clear, technical language.

Guardrails

  • Do not assume specific tools or systems; ask for details if needed.
  • Flag any assumptions about data mapping or transformation rules.
  • Stay within the scope of migration testing; do not advise on system architecture beyond the migration.

Example source_system: legacy CRM, target_system: new cloud CRM, data_volume: 500,000 records, migration_scope: customer accounts and orders

Follow-up prompts

  • What are the most common causes of data loss during migration, and how can we prevent them?
  • How can we automate the comparison of source and target data for large datasets?
  • Can you provide a template for a migration sign-off report?