Claude-skill-registry faion-testing-developer

Testing: unit, integration, E2E, TDD, mocking, security testing.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/faion-testing-developer" ~/.claude/skills/majiayu000-claude-skill-registry-faion-testing-developer && rm -rf "$T"
manifest: skills/data/faion-testing-developer/SKILL.md
source content

Entry point:

/faion-net
— invoke this skill for automatic routing to the appropriate domain.

Testing Developer Skill

Testing strategies and implementation covering unit tests, integration tests, E2E tests, TDD workflow, and testing best practices.

Purpose

Handles all aspects of software testing including test design, implementation, mocking, fixtures, and testing frameworks.


Context Discovery

Auto-Investigation

Detect testing setup from project:

SignalHow to CheckWhat It Tells Us
pytest.ini
or
pyproject.toml [tool.pytest]
Glob("**/pytest.ini")
pytest used
conftest.py
Glob("**/conftest.py")
pytest fixtures exist
jest.config.*
Glob("**/jest.config.*")
Jest used
vitest.config.*
Glob("**/vitest.config.*")
Vitest used
*_test.go
Glob("**/*_test.go")
Go tests exist
playwright.config.*
Glob("**/playwright.config.*")
E2E with Playwright
cypress/
Glob("**/cypress/**")
E2E with Cypress
Coverage config
Grep("coverage", "**/package.json")
Coverage enabled

Read existing patterns:

  • Check existing tests for patterns (AAA, fixtures)
  • Read conftest.py for shared fixtures
  • Check CI for test commands

Discovery Questions

Q1: Testing Goal

question: "What testing help do you need?"
header: "Goal"
multiSelect: false
options:
  - label: "Write tests for existing code"
    description: "Add test coverage"
  - label: "Set up testing framework"
    description: "Configure from scratch"
  - label: "TDD for new feature"
    description: "Write tests first"
  - label: "Fix flaky tests"
    description: "Stabilize test suite"
  - label: "Improve coverage"
    description: "Find and fill gaps"

Q2: Test Level

question: "What level of testing?"
header: "Level"
multiSelect: true
options:
  - label: "Unit tests"
    description: "Test individual functions/classes"
  - label: "Integration tests"
    description: "Test components together"
  - label: "E2E tests"
    description: "Test full user flows"
  - label: "API tests"
    description: "Test HTTP endpoints"

Routing:

  • "Unit" → unit-testing, mocking-strategies
  • "Integration" → integration-testing, test containers
  • "E2E" → e2e-testing, Playwright/Cypress
  • "API" → api-testing, contract testing

Q3: Test Framework (if not detected)

question: "Which test framework?"
header: "Framework"
multiSelect: false
options:
  - label: "pytest (Python)"
    description: "Python testing framework"
  - label: "Jest (JavaScript)"
    description: "JavaScript testing"
  - label: "Vitest (JavaScript)"
    description: "Fast Vite-native testing"
  - label: "Go testing"
    description: "Built-in Go testing"
  - label: "Playwright (E2E)"
    description: "Cross-browser E2E"

Q4: Mocking Needs

question: "What do you need to mock?"
header: "Mocking"
multiSelect: true
options:
  - label: "External APIs"
    description: "HTTP calls to third parties"
  - label: "Database"
    description: "DB queries and transactions"
  - label: "Time/dates"
    description: "Freeze time for tests"
  - label: "File system"
    description: "File operations"
  - label: "Nothing / minimal mocking"
    description: "Prefer real dependencies"

When to Use

  • Unit testing strategies
  • Integration testing
  • End-to-end (E2E) testing
  • Test-driven development (TDD)
  • Mocking and stubbing
  • Test fixtures and factories
  • Security testing
  • Code coverage analysis
  • Language-specific testing (pytest, Jest, Go testing, etc.)

Methodologies

CategoryMethodologyFile
Testing Levels
Unit testingUnit test patterns, isolation, assertionsunit-testing.md
Integration testingIntegration test patterns, test containersintegration-testing.md
E2E testing basicsEnd-to-end test patternse2e-testing.md
E2E testing altE2E strategiestesting-e2e.md
Testing Practices
TDD workflowRed-green-refactor, TDD cycletdd-workflow.md
Mocking strategiesMocks, stubs, spies, fakesmocking-strategies.md
Test fixturesFixture patterns, factory patterntest-fixtures.md
Testing patternsGeneral testing patternstesting-patterns.md
Security
Security testingSAST, DAST, penetration testingsecurity-testing.md
Language-Specific
pytest testingpytest fixtures, parametrize, markerstesting-pytest.md
JavaScript testingJest, Vitest, React Testing Librarytesting-javascript.md
Go testingGo testing stdlib, table teststesting-go.md

Tools by Language

Python: pytest, unittest, hypothesis, factory-boy, faker JavaScript: Jest, Vitest, Mocha, Chai, React Testing Library, Cypress, Playwright Go: testing stdlib, testify, gomock Java: JUnit 5, Mockito, AssertJ C#: xUnit, NUnit, Moq, FluentAssertions

E2E: Playwright, Cypress, Selenium, Puppeteer Security: OWASP ZAP, Burp Suite, Snyk, SonarQube

Related Sub-Skills

Sub-skillRelationship
faion-python-developerpytest, Django testing
faion-javascript-developerJest, Vitest testing
faion-backend-developerLanguage-specific testing
faion-api-developerAPI testing, contract testing
faion-devtools-developerCode coverage, test automation

Integration

Invoked by parent skill

faion-software-developer
for testing-related work.


faion-testing-developer v1.0 | 12 methodologies