# Quality Assurance

> Quality assurance processes and methodologies. Use when planning testing, managing bugs, or improving quality.

- Skill: `saolalab/quality-assurance` (Agent Skill)
- Install (CLI): `npx skillmds@latest add saolalab/quality-assurance`
- Raw SKILL.md: https://api.skillmd.com/api/skills/saolalab/quality-assurance/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: saolalab (https://skillmd.com/u/saolalab)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/saolalab/quality-assurance

---


# Quality Assurance

## QA in SDLC

```
Requirements → Design → Development → Testing → Release
     ↑            ↑           ↑          ↑        ↑
   Review     Review     Code Review   QA     Monitoring
```

## Bug Report Template

```markdown
## Bug Report

### Summary
[One-line description]

### Environment
- Browser/OS: 
- Version:
- User type:

### Steps to Reproduce
1. Go to [page]
2. Click [element]
3. Enter [data]
4. Observe [behavior]

### Expected Result
[What should happen]

### Actual Result
[What actually happens]

### Severity
- [ ] Critical - System unusable
- [ ] Major - Feature broken
- [ ] Minor - Workaround available
- [ ] Cosmetic - Visual issue

### Attachments
[Screenshots, logs, video]
```

## Test Case Template

```markdown
## Test Case: [ID]

### Title
[Brief description]

### Preconditions
- User is logged in
- [Other setup]

### Test Steps
| Step | Action | Expected Result |
|------|--------|-----------------|
| 1 | Navigate to page | Page loads |
| 2 | Click button | Modal opens |

### Test Data
- Username: test@example.com
- [Other data]

### Priority
High/Medium/Low

### Type
Functional/Regression/Smoke
```

## Testing Techniques

### Equivalence Partitioning
Divide inputs into groups that should behave the same.

### Boundary Value Analysis
Test at the edges of valid ranges.

### Decision Table
Cover all combinations of conditions.

### Exploratory Testing
Session-based testing with a charter.

## Quality Metrics

| Metric | Formula | Target |
|--------|---------|--------|
| Defect Density | Bugs / KLOC | < 1 |
| Test Coverage | Covered / Total | > 80% |
| Defect Escape | Prod bugs / Total bugs | < 5% |
| Pass Rate | Passed / Total tests | > 95% |

