Skip to content
Back to skills

Testing

ASecurity

Testing strategies, patterns, and best practices

  • 24 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added February 7, 2026
testinggobashtestingapidatabaseci/cdsecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add Fujigo-Software/f5-framework-claude --skill testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fujigo-software-testing/badge)](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.

Download with Pro
SKILL.md
---
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)

Files in this skill

  • SKILL.md3.4 KB
  • advanced/chaos-testing.md12.2 KB
  • advanced/contract-testing.md12.9 KB
  • advanced/mutation-testing.md9.9 KB
  • advanced/property-based-testing.md10.1 KB
  • ci-cd/coverage-reporting.md10.1 KB
  • ci-cd/flaky-tests.md11.8 KB
  • ci-cd/test-automation.md10.7 KB
  • e2e-testing/browser-testing.md13.5 KB
  • e2e-testing/e2e-basics.md10.3 KB
  • e2e-testing/mobile-testing.md12.4 KB
  • e2e-testing/visual-regression.md10.1 KB
  • fundamentals/behavior-driven-development.md11.3 KB
  • fundamentals/test-driven-development.md8.4 KB
  • fundamentals/testing-principles.md11 KB
  • fundamentals/testing-pyramid.md7.4 KB
  • integration-testing/api-testing.md12.3 KB
  • integration-testing/database-testing.md11.6 KB
  • integration-testing/external-service-testing.md11.9 KB
  • integration-testing/integration-test-basics.md10.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…