---
name: testing-strategies
description: Use when designing test plans, writing unit/integration tests, or improving test coverage.
---

# Testing Strategies

## When to Use
- Writing new tests
- Improving test coverage
- Designing test architecture

## Test Types
1. Unit tests (fast, isolated)
2. Integration tests (component interaction)
3. E2E tests (user workflows)
4. Performance tests (load, stress)

## Best Practices
- Test behavior, not implementation
- Use descriptive test names
- Follow AAA pattern (Arrange, Act, Assert)
- Mock external dependencies
- Test edge cases and error paths
