單元測試
5220 skills in 測試與安全 > 單元測試
backtesting-trading-strategies
Backtest crypto trading strategies against historical data with performance metrics.Use when validating trading strategies with historical data.Trigger with phrases like "backtest strategy", "test trading signals", or "validate approach".
running-load-tests
Create and execute load tests for performance validation using k6, JMeter, and Artillery. Use when validating application performance under load conditions or identifying bottlenecks. Trigger with phrases like "run load test", "create stress test", or "validate performance under load".
automating-api-testing
Automate API endpoint testing including request generation, validation, and comprehensive test coverage for REST and GraphQL APIs.Use when testing API contracts, validating OpenAPI specifications, or ensuring endpoint reliability.Trigger with phrases like "test the API", "generate API tests", or "validate API contracts".
managing-snapshot-tests
Create and validate component snapshots for UI regression testing.Use when performing specialized testing.Trigger with phrases like "update snapshots", "test UI snapshots", or "validate component snapshots".
running-mutation-tests
Execute mutation testing to evaluate test suite effectiveness.Use when performing specialized testing.Trigger with phrases like "run mutation tests", "test the tests", or "validate test effectiveness".
running-integration-tests
Execute integration tests validating component interactions and system integration.Use when performing specialized testing.Trigger with phrases like "run integration tests", "test integration", or "validate component interactions".
analyzing-test-coverage
Analyze code coverage metrics and identify untested code paths.Use when analyzing untested code or coverage gaps.Trigger with phrases like "analyze coverage", "check test coverage", or "find untested code".
running-chaos-tests
Execute chaos engineering experiments to test system resilience.Use when performing specialized testing.Trigger with phrases like "run chaos tests", "test resilience", or "inject failures".
websocket-updater
Automates updating googleai_dart when Gemini Live API WebSocket schema changes. Fetches latest schema, compares against current, generates changelogs and prioritized implementation plans. Use for: (1) Checking for Live API updates, (2) Generating implementation plans for WebSocket changes, (3) Creating new message types from schema, (4) Syncing local schema with upstream. Triggers: "update live api", "sync websocket", "new messages", "live api changes", "check for live updates", "update live schema", "websocket version", "fetch live schema", "compare live schema", "what changed in live api", "live implementation plan".
openapi-updater
Automates updating googleai_dart when Google AI OpenAPI spec changes. Fetches latest spec, compares against current, generates changelogs and prioritized implementation plans. Use for: (1) Checking for API updates, (2) Generating implementation plans for spec changes, (3) Creating new models/endpoints from spec, (4) Syncing local spec with upstream. Triggers: "update api", "sync openapi", "new endpoints", "api changes", "check for updates", "update spec", "api version", "fetch spec", "compare spec", "what changed in the api", "implementation plan".
release-prep
Prepare a release for this repository when the user says "release". Use to review changes since the last release, choose and confirm the semver bump, run tests, update version files, tag, push, and draft the GitHub release for code-index-mcp.
massgen-config-creator
Guide for creating properly structured YAML configuration files for MassGen. This skill should be used when agents need to create new configs for examples, case studies, testing, or demonstrating features.
run-tests
Validate code changes by intelligently selecting and running the appropriate test suites. Use this when editing code to verify changes work correctly, run tests, validate functionality, or check for regressions. Automatically discovers affected test suites, selects the minimal set of venvs needed for validation, and handles test execution with Docker services as needed.
activitypub-testing
Testing patterns for PHPUnit and Playwright E2E tests. Use when writing tests, debugging test failures, setting up test coverage, or implementing test patterns for ActivityPub features.
activitypub-dev-cycle
Development workflows for WordPress ActivityPub plugin including wp-env setup, testing commands, linting, and build processes. Use when setting up development environment, running tests, checking code quality, building assets, or working with wp-env.
test-script
Use when writing or modifying .txt test scripts in testdata/script/ for git-spice - covers txtar format, end-to-end testing, ShamHub forge simulation, interactive prompts, and golden file comparisons for branch operations and stack workflows.
Run Tests
Run pgschema automated tests (go test) to validate diff logic, plan generation, and dump functionality using test fixtures
tidy-deprecate-function
Guide for deprecating R functions/arguments. Use when a user asks to deprecate a function or parameter, including adding lifecycle warnings, updating documentation, adding NEWS entries, and updating tests.
Testing Code
Write automated tests for features, validate functionality against acceptance criteria, and ensure code coverage. Use when writing test code, verifying functionality, or adding test coverage to existing code.
asterisk-tester
Тестирование сценариев Asterisk dialplan и потоков звонков используя безопасные Local каналы. Использовать при тестировании логики маршрутизации звонков, отладке проблем dialplan или проверке потоков IVR меню.