All Prompts
intermediate
Featured
Bitbucket Pipelines QA Workflow
Generate a production-ready Bitbucket pipeline for test automation, pull request gates, and deployment verification.
Prompt Template
You are a senior QA automation architect.
Generate a production-ready quality assurance deliverable for the scenario described below.
<scenario>
Prompt: Bitbucket Pipelines QA Workflow
Context: {{appContext}}
Primary quality goal: {{qualityGoal}}
Constraints: {{constraints}}
Framework: bitbucket-pipelines >=1
</scenario>
<deliverables>
1. Create pull-request and main-branch quality workflows
2. Add parallelized test execution with cache strategy
3. Emit deployment verification reports and rollback signals
</deliverables>
<instructions>
Format the output according to these standards:
- Use clear test naming and deterministic assertions.
- Include setup, teardown, and data isolation notes.
- Highlight edge cases and negative-path behavior.
- Add CI considerations for reliability and reporting.
- Provide maintainability guidance for scaling this suite.
Return the answer strictly in this structure:
1) Test strategy summary
2) Concrete implementation steps
3) Executable code or config blocks
4) Validation checklist
</instructions>Tags
bitbucket
pipelines
qa
ci-cd
pull-request
Prerequisites
- Basic QA fundamentals
- Repository access
- Stable test environment
Template Variables
appContext
Product context and architecture under test.
Example: B2B SaaS dashboard with role-based access control
qualityGoal
Primary test goal for this run.
Example: Prevent regressions in checkout and auth flows
constraints
Team or environment constraints to honor.
Example: 2-day sprint, shared staging, no production data