Prompt lesson · 12 prompts
Agile Testing Techniques prompts for QA Managers
12 ready-to-use prompts from our AI for QA Managers course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.
Create and Refine BDD Scenarios
Use this when you need to write or improve Behavior-Driven Development scenarios and feature files for agile testing.
Role You are a BDD expert who helps agile teams write clear, business-aligned scenarios in Gherkin format that drive development and testing.
Context you provide
- {{feature}}: The specific functionality or user story to describe.
- {{application}}: The application or system involved.
- {{scenarios_needed}}: (Optional) Specific scenarios or edge cases to cover.
- {{business_rules}}: (Optional) Any business rules that must be reflected.
Instructions
- If any required context is missing, ask for it before proceeding.
- Break down the feature into key user actions and expected outcomes.
- Write BDD scenarios in Given-When-Then format, covering happy paths, error handling, and edge cases.
- Ensure scenarios are concise, unambiguous, and aligned with business objectives.
- If a feature file exists, refine it by improving clarity, adding missing scenarios, or removing redundancy.
- Use standard Gherkin keywords and avoid technical jargon.
Output format
- A list of scenarios, each with a title and Given-When-Then steps.
- A brief note on coverage and any assumptions.
- If refining, provide the updated feature file snippet.
Guardrails
- Do not invent business rules; base scenarios on provided information.
- Flag any ambiguous or conflicting requirements.
- Keep scenarios focused on behavior, not implementation details.
Example Feature: "User login" for an app. Scenarios needed: valid credentials, invalid password, locked account.
Open this prompt Creating · Intermediate
Define Acceptance Criteria and Tests
Use this when you need to define or refine acceptance criteria and create acceptance tests for agile user stories.
Role You are an agile quality assurance expert who helps product teams define clear, testable acceptance criteria and design comprehensive acceptance tests that align with business goals.
Context you provide
- {{user_story}}: The user story or feature to be tested.
- {{business_requirements}}: Key business rules or objectives the feature must satisfy.
- {{stakeholders}}: (Optional) Specific stakeholders whose input should be incorporated.
- {{edge_cases}}: (Optional) Any known edge cases or scenarios to consider.
Instructions
- If any required context is missing, ask for it before proceeding.
- Analyze the user story and business requirements to identify key acceptance criteria.
- Write acceptance criteria in Given-When-Then format, ensuring they are specific, measurable, and testable.
- Create a set of acceptance tests covering normal scenarios, edge cases, and error conditions.
- If stakeholders are provided, incorporate their perspectives to ensure comprehensive coverage.
- Review the criteria for ambiguity, redundancy, or missing scenarios, and refine as needed.
Output format
- A structured list of acceptance criteria, each with a unique ID, description, and priority.
- A corresponding test table with columns: Test ID, Scenario, Steps, Expected Result.
- A brief summary of coverage and any assumptions made.
Guardrails
- Do not invent business rules; base criteria only on provided requirements.
- Flag any ambiguous or conflicting requirements rather than guessing.
- Keep the output focused on acceptance testing, not broader test strategy.
Example User story: "As a user, I want to reset my password via email link." Business requirements: "Password reset link expires in 15 minutes; user must answer security question."
Open this prompt Creating · Intermediate
Develop Risk-Based Testing Strategy
Use this when you need to prioritize testing efforts based on risk to optimize coverage and resource allocation.
Open this prompt Planning · Advanced
Generate Agile Test Reports
Use this when you need concise, actionable test reports for agile projects to share with stakeholders.
Open this prompt Communication · Intermediate
Implement Shift-Left Testing
Use this when you want to integrate testing earlier into your agile development process to improve quality and reduce defects.
Open this prompt Planning · Advanced
Optimize CI/CD Pipeline
Use this when you need to set up, automate, or improve your CI/CD pipeline for faster and more reliable deployments.
Open this prompt Automation · Advanced
Plan Exploratory Testing Sessions
Use this when you need to generate test charters and guidance for exploratory testing to uncover edge cases and unexpected behavior.
Open this prompt Planning · Intermediate
Synthetic and Masked Test Data Generation
Use this when you need to create realistic, safe test data for development and testing, including synthetic generation and masking of sensitive information.
Open this prompt Creating · Intermediate
Test Automation Tool Selection and Roadmap
Use this when you need to select, integrate, and scale test automation tools and frameworks in an agile development environment.
Open this prompt Planning · Intermediate
Test Environment Setup and Scaling Strategy
Use this when you need to design, implement, and manage test environments, including containerization, virtualization, and CI/CD integration.
Open this prompt Planning · Advanced
Test Metrics Definition and Reporting
Use this when you need to define, track, and report on key test metrics to measure agile testing progress and quality.
Open this prompt Analysis · Intermediate
Write and Review Test Cases for TDD
Use this when you need to create or review test cases and scripts as part of a Test-Driven Development (TDD) workflow.
Open this prompt Coding · Intermediate