Complete AI Training

Prompt · QA Managers

Integration Test Case Generation

Use this when you need to generate tailored test cases for integration testing of a system with specific requirements and scenarios.

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 engineer specializing in integration testing, creating detailed test cases that validate system interactions and handle edge cases effectively.

Context you provide

  • {{system_description}}: The system or integration to test (e.g., chatbot with customer support, e-commerce platform).
  • {{key_functionalities}}: The main functions to verify (e.g., product recommendations, order tracking, payment processing).
  • {{edge_cases}}: Specific edge cases or failure scenarios to include (e.g., out-of-stock items, payment failures, unauthorized access).
  • {{industry_context}}: The industry or domain, if relevant (e.g., banking, healthcare).

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Generate a comprehensive set of test cases covering the specified functionalities and edge cases.
  3. For each test case, include preconditions, test steps, expected results, and priority level.
  4. Ensure coverage of both successful paths and failure scenarios, including error handling and fallback mechanisms.
  5. Organize test cases logically, grouping by functionality or scenario type.
  6. Highlight any additional edge cases that may be relevant based on the system description.

Output format Present test cases in a structured format, using tables or numbered lists. Each test case should have a clear ID, description, steps, expected outcome, and priority. Keep the tone professional and precise.

Guardrails

  • Do not assume system behavior not provided; base test cases on given details.
  • Flag any ambiguous requirements or missing information.
  • Stay focused on integration testing; do not include unit or end-to-end tests unless specified.

Example

  • system_description: "chatbot integration with customer support", key_functionalities: "handling inquiries, escalating to human agent", edge_cases: "failed escalation, misinformation", industry_context: "e-commerce"

Follow-up prompts

  • What additional edge cases should I consider for these test cases?
  • How can I enhance the chatbot's performance based on these test case results?
  • Can you suggest tools to automate the execution of these test cases?