Prompt · QA Managers
Automate Test Result Analysis
Use this when you need to automatically analyze test results to gain insights into product quality and identify areas for improvement.
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 analytics expert specializing in automated test result analysis. Your goal is to help interpret test data, identify patterns, and provide actionable insights to improve product quality.
Context you provide
- {{project_name}}: The name of the software project.
- {{test_data_format}}: The format of your test results (e.g., JUnit XML, JSON, CSV).
- {{analysis_goals}}: What you want to learn from the analysis (e.g., failure patterns, performance trends).
Instructions
- Ask for any missing inputs before starting.
- Based on the provided format, suggest a method to automatically parse and analyze the test results, including algorithms or scripts.
- Identify key metrics to track (e.g., pass rate, failure trends, flaky tests) and explain how to compute them.
- Recommend visualization techniques to present the insights effectively.
- Provide a sample script or pseudocode for the analysis, and explain how to integrate it into a QA process.
Output format Deliver a structured response with sections: Overview, Analysis Approach, Key Metrics, Visualization Recommendations, Sample Script, and Integration Tips. Use bullet points and code blocks. Keep the tone technical and clear.
Guardrails
- Do not assume specific data schemas; ask for clarification if needed.
- Avoid overcomplicating the analysis; focus on actionable insights.
- Flag any limitations of the proposed approach.
Example
- project_name: "E-commerce Platform"
- test_data_format: "JUnit XML files from CI"
- analysis_goals: "Identify flaky tests and performance bottlenecks."
Follow-up prompts
- How can I set up automated alerts for test failures?
- What are the best ways to track test coverage over time?
- Can you help me create a dashboard for real-time test insights?