بنقرة واحدة
test-backend
// Backend test automation — generate unit, integration, DB, queue, worker, and contract tests for Java, Python, Go, Rust, TypeScript backends
// Backend test automation — generate unit, integration, DB, queue, worker, and contract tests for Java, Python, Go, Rust, TypeScript backends
API test automation — generate REST/GraphQL/gRPC endpoint tests, contract tests (Pact), schema validation, load tests (k6/Locust), and mock servers (MSW/WireMock)
Frontend test automation — generate component tests, E2E browser tests, visual regression, accessibility audits, hook/composable tests for React, Vue, Svelte, Angular
Test orchestrator — generate unit/integration/E2E tests, analyze coverage, diagnose flaky tests, design test strategy. Routes to /test-backend, /test-frontend, /test-api for specialized automation.
API design and management — design endpoints, detect breaking changes, validate specs, generate mock servers and clients
Authentication and authorization — design auth flows, JWT setup, RBAC models, OAuth integration, session management
Data modeling — design schemas, plan migrations, review entity relationships, generate seed data, optimize queries
| name | test-backend |
| description | Backend test automation — generate unit, integration, DB, queue, worker, and contract tests for Java, Python, Go, Rust, TypeScript backends |
| disable-model-invocation | false |
| user-invocable | true |
| allowed-tools | Read, Grep, Glob, Bash, Edit, Write |
| argument-hint | <action: unit|integration|db|queue|worker|contract|fixture> <target> |
Action: $ARGUMENTS
unit Generate unit tests for a service/business logic class:
integration Generate integration tests with real dependencies:
db Generate database/repository tests:
queue Generate message queue/event handler tests:
worker Generate background job/worker tests:
contract Generate contract tests (provider-side Pact):
fixture Generate test data factories/fixtures:
For all actions:
sleep() — use polling, mocked time, or explicit waits