Awesome-omni-skill testing

Comprehensive testing across platforms — Web (Playwright, Vitest), Backend (Rust/Go/Python/Node API testing), Desktop (Tauri, Electron), Mobile (React Native, Flutter - coming soon). Unit, integration, E2E, load, security, accessibility testing. Use for test automation, quality assurance, CI/CD integration.

install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/fullstack-web/testing" ~/.claude/skills/diegosouzapw-awesome-omni-skill-testing-2cf1f3 && rm -rf "$T"
manifest: skills/fullstack-web/testing/SKILL.md
source content

Testing Mastery

Platform-agnostic testing strategy covering Web, Backend, Desktop, and Mobile applications. Core principles apply across all platforms.

Note: Desktop (Tauri/Electron) and Mobile (React Native/Flutter) testing guides coming soon.

Platform Coverage

PlatformStatusFrameworks
Web Frontend✅ CompleteVitest, Playwright, React Testing Library
Web Backend✅ CompleteRust (cargo test), Go, Python (pytest), Node
Desktop🚧 ComingTauri, Electron (WebDriver)
Mobile🚧 ComingReact Native (Detox), Flutter

Testing Pyramid (70-20-10)

LayerRatioFrameworkSpeedWhat to Test
Unit70%Vitest<50msFunctions, utils, state logic
Integration20%Vitest + MSW100-500msAPI endpoints, DB ops, modules
E2E10%Playwright5-30sCritical flows (login, checkout)

Quick Start

# Unit tests
npx vitest run                           # Run all
npx vitest run --coverage                # With coverage
npx vitest --ui                          # Visual UI

# E2E tests
npx playwright test                      # Run all
npx playwright test --ui                 # Interactive UI
npx playwright test --headed             # See browser
npx playwright codegen https://myapp.com # Record test

# Load test
k6 run load-test.js

# Accessibility
npx @axe-core/cli https://myapp.com
npx lighthouse https://myapp.com --output=html

Reference Navigation

Frontend Testing

Backend Testing (Multi-stack)

Performance & Load

Security & Accessibility

Quality & Strategy

CI/CD Integration

Frontend Pipeline

jobs:
  test-frontend:
    steps:
      - run: npm run test:unit        # Gate 1: Fast fail (<30s)
      - run: npm run test:integration # Gate 2: API mocking
      - run: npm run test:e2e         # Gate 3: Critical flows
      - run: npm run test:a11y        # Gate 4: Accessibility
      - run: npx lhci autorun         # Gate 5: Performance

Backend Pipeline (Rust)

jobs:
  test-backend:
    steps:
      - run: cargo test --lib         # Unit tests
      - run: cargo test --test '*'    # Integration tests
      - run: cargo clippy             # Linting

Backend Pipeline (Multi-stack)

# Go
- run: go test ./...
- run: golangci-lint run

# Python
- run: pytest tests/
- run: ruff check .

# Node.js
- run: npm run test
- run: npm run lint

Best Practices

  1. Test behavior, not implementation — Test what the user sees, not internal state
  2. Arrange-Act-Assert — Clear structure for every test
  3. Avoid test interdependence — Each test runs in isolation
  4. Use factories, not fixtures — Generate fresh test data
  5. Flaky tests = bugs — Fix or quarantine immediately
  6. Coverage ≠ Quality — 80% meaningful > 100% shallow

Related Skills

SkillWhen to Use
rust-backend-advanceRust-specific testing patterns with cargo test
nextjs-turborepoNext.js E2E testing setup
databasesDatabase testing, migrations
devopsCI/CD pipeline test integration
debuggingTest failure investigation
securitySecurity testing methodologies