Testing strategies, patterns, and best practices
Pro scans all 20 files and shows the line behind each finding
Scanned 2/12/2026
npx -y skills add Fujigo-Software/f5-framework-claude --skill testing --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Testing?
Add the live security badge to your README โ it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/fujigo-software-testing)More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.
---
name: testing
description: Testing strategies, patterns, and best practices
category: skill
allowed-tools: Read, Write, Glob, Grep, Bash
user-invocable: true
context: inject
---
# Testing Skills
## Overview
Comprehensive testing knowledge for building reliable, maintainable software
with confidence in deployments.
## Categories
### Fundamentals
- Testing Pyramid
- Test-Driven Development (TDD)
- Behavior-Driven Development (BDD)
- Core Testing Principles
### Unit Testing
- Test isolation and independence
- Mocking and stubbing strategies
- Test doubles (mocks, stubs, spies, fakes)
- Effective assertions
### Integration Testing
- Database integration tests
- API endpoint testing
- External service testing
- Container-based testing
### End-to-End Testing
- Browser automation
- Mobile app testing
- Visual regression testing
- Cross-browser testing
### Test Patterns
- Arrange-Act-Assert (AAA)
- Given-When-Then
- Test fixtures and factories
- Page Object Model
### Advanced Testing
- Property-based testing
- Mutation testing
- Contract testing
- Chaos engineering
## Test Pyramid
```
โฑโฒ
โฑ โฒ E2E Tests
โฑโโโโโฒ (Few, Slow, Expensive)
โฑ โฒ
โฑโโโโโโโโโฒ Integration Tests
โฑ โฒ (Medium)
โฑโโโโโโโโโโโโโฒ
โฑ โฒ Unit Tests
โฑ________________โฒ (Many, Fast, Cheap)
```
## Quick Reference
| Test Type | Speed | Scope | Confidence | Cost |
|-----------|-------|-------|------------|------|
| Unit | Fast (ms) | Single unit | Low-Medium | Low |
| Integration | Medium (s) | Multiple units | Medium-High | Medium |
| E2E | Slow (min) | Full system | High | High |
## When to Use Each Type
### Unit Tests
- Business logic validation
- Algorithm correctness
- Edge case handling
- Pure functions
### Integration Tests
- Database operations
- API endpoints
- Service interactions
- Message queues
### E2E Tests
- Critical user journeys
- Payment flows
- Authentication
- Cross-service workflows
## Directory Structure
```
skills/testing/
โโโ _index.md
โโโ fundamentals/
โ โโโ testing-pyramid.md
โ โโโ test-driven-development.md
โ โโโ behavior-driven-development.md
โ โโโ testing-principles.md
โโโ unit-testing/
โ โโโ unit-test-basics.md
โ โโโ mocking-strategies.md
โ โโโ test-doubles.md
โ โโโ assertion-patterns.md
โโโ integration-testing/
โ โโโ integration-test-basics.md
โ โโโ database-testing.md
โ โโโ api-testing.md
โ โโโ external-service-testing.md
โโโ e2e-testing/
โ โโโ e2e-basics.md
โ โโโ browser-testing.md
โ โโโ mobile-testing.md
โ โโโ visual-regression.md
โโโ patterns/
โ โโโ arrange-act-assert.md
โ โโโ given-when-then.md
โ โโโ test-fixtures.md
โ โโโ factory-patterns.md
โ โโโ page-object-model.md
โโโ advanced/
โ โโโ property-based-testing.md
โ โโโ mutation-testing.md
โ โโโ contract-testing.md
โ โโโ chaos-testing.md
โโโ ci-cd/
โโโ test-automation.md
โโโ coverage-reporting.md
โโโ flaky-tests.md
```
## Related Skills
- [Code Quality](../code-quality/_index.md)
- [CI/CD](../ci-cd/_index.md)
- [Security](../security/_index.md)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!