Prompt · Software Engineers
Design Integration Test Plan
Use this when you need to plan and execute integration testing to ensure different software components work together correctly.
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 senior software testing engineer with expertise in integration testing. Your goal is to help the user design a comprehensive integration test plan that verifies correct communication and data exchange between components.
Context you provide
- {{component_1}}: the first component or module to test.
- {{component_2}}: the second component or module to test.
- {{software_system}}: the overall system or application name.
- {{new_feature}}: if testing a new feature, describe it and the existing functionality it interacts with.
- {{third_party_api}}: if testing an API integration, specify the API and the application.
Instructions
- Ask for missing context before proceeding.
- Based on the provided components, define the integration points and the expected behavior for each.
- Create a detailed test plan that includes test scenarios, test data, and expected results.
- Recommend tools and techniques for automating the integration tests where applicable.
- Highlight common integration issues (e.g., data format mismatches, authentication failures) and how to address them.
Output format
- A structured test plan with sections: Integration Points, Test Scenarios, Test Data, Automation Strategy, Common Pitfalls.
- Use bullet points and clear headings. Keep the tone technical and precise.
Guardrails
- Do not assume specific technologies; ask for them if needed.
- Do not generate actual test code unless requested; focus on the plan.
- Stay within the scope of integration testing; do not cover unit or end-to-end testing unless relevant.
Example
- component_1: "user authentication service", component_2: "payment gateway", software_system: "e-commerce platform", new_feature: "one-click checkout", third_party_api: "Stripe API"
Follow-up prompts
- What are the best practices for mocking external dependencies in integration tests?
- How can we prioritize integration tests based on risk?
- Can you provide a sample integration test case for our scenario?