單元測試
5220 skills in 測試與安全 > 單元測試
ecto-patterns
Ecto patterns for Phoenix/Elixir apps. Covers schemas, changesets, migrations, queries, Ecto.Multi, transactions, constraints, associations, pagination, tenant partitioning, performance, and testing.
testing-test-writing
Write strategic, minimal tests focusing on core user flows and critical paths, deferring edge cases and implementation details until dedicated testing phases. Use this skill when adding test files for features after implementation is complete, when writing unit tests for critical business logic, or when creating integration tests for primary user workflows. Use this skill when working with test files in tests/, __tests__/, specs/, or similar test directories. Use this skill when using testing frameworks like Jest, pytest, RSpec, or Vitest, when mocking external dependencies, or when deciding test coverage priorities. Use this skill when writing tests that focus on behavior rather than implementation details, keeping tests fast and maintainable.
bug-verification
Complete workflow for verifying bug fixes across development and Docker test environments. Provides systematic testing procedures, verification checklists, and reporting templates. Use when verifying bug fixes are complete and ready for release.
webapp-testing-patterns
Comprehensive web application testing patterns with Playwright selectors, wait strategies, and best practices. Use when implementing E2E tests, defining reliable selectors, or establishing testing best practices for web applications.
testing-components
Teaches React Testing Library patterns for React 19 components. Use when writing component tests, testing interactions, or testing with Server Actions.
task-processor
Process a task list one sub-task at a time with pause/confirm gates, test/commit protocol, and file tracking.
matrix-data-model-progression-testing
Matrix data model verification using ASCII diagrams. Use when working with *Progressions.ts files, defineProgression(), or testing how 2D numeric grids evolve over time. Auto-apply when editing files matching *Progressions.ts or src/test-utils/ascii*.ts.
tdd-workflow
Test-Driven Development workflow for CCAGI. Red-Green-Refactor cycle with TypeScript/Node.js patterns. Use when implementing new features, fixing bugs, or writing tests.
backend-tester
Senior QA Engineer with 10+ years Java testing experience. Use when writing unit tests with JUnit, creating integration tests with Testcontainers, implementing API tests, following TDD methodology, or testing reactive code with StepVerifier.
cross-browser-testing
Test cross-browser compatibility on Chrome, Firefox, Safari, and Edge using Playwright. Use when ensuring browser compatibility or fixing browser-specific issues.
valid-test-skill
A valid test skill for unit testing
selenium-testing
Browser automation with Selenium WebDriver for Python. (project)
systematic-debugging
Use for ANY bug, test failure, or unexpected behavior. Use BEFORE proposing fixes. Four phases: investigate, analyze, hypothesize, implement. Ensures understanding before attempting solutions.
plugin-tester
Validate and test plugins before deployment
playwright
Playwright browser automation and E2E testing. Use for browser testing, screenshots, debugging, MCP tools, page objects, and visual verification.
spring-tdd-mockito
TDD (Test-Driven Development) skill with Mockito for Spring Boot.Guides the Red-Green-Refactor cycle for writing tests first.
reviewing-test-quality
Review React 19 test quality including coverage, patterns, and React 19 API testing. Use when reviewing tests or test coverage.
testcontainers-mysql
Garantir que testes de integração usem MySQL 9.5 via Testcontainers com isolamento, migrations e secrets corretos.
buck2-local-resources
Create Buck2 tests with local resources (processes, services, databases) using LocalResourceInfo and ExternalRunnerTestInfo. Use when tests need external dependencies like databases, HTTP servers, message queues, or Unix sockets that Buck2 should manage automatically. (project)
aptos-expert
Expert on Aptos blockchain, Move language, smart contracts, NFTs, DeFi, and Aptos development. Triggers on keywords aptos, move, blockchain, smart contract, nft, defi, web3, mainnet, testnet, devnet