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.
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 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
- If any required context is missing, ask for it before proceeding.
- Generate a comprehensive set of test cases covering the specified functionalities and edge cases.
- For each test case, include preconditions, test steps, expected results, and priority level.
- Ensure coverage of both successful paths and failure scenarios, including error handling and fallback mechanisms.
- Organize test cases logically, grouping by functionality or scenario type.
- 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?