Catching quality issues after deployment is expensive. Integrating QAProof into your CI/CD pipeline ensures every change is tested before it reaches production.
REST API Integration
QAProof provides a simple REST API with Bearer token authentication. Trigger tests programmatically and get JSON results you can parse in your pipeline.
GitHub Actions Example
Add a workflow step that runs QAProof tests on preview deployments:
- Deploy preview environment
- Trigger QAProof tests via API
- Parse results and fail build if scores drop below threshold
- Post results as PR comment
Setting Quality Gates
Define minimum acceptable scores for each test type. For example:
- Design Fidelity: 85/100 minimum
- Accessibility: 90/100 minimum
- Responsive: 80/100 minimum
Fail the build when scores drop below thresholds, forcing teams to address quality issues before merging.