Stats
Actions
Tags
How this command is triggered — by the user, by Claude, or both
Slash command
/edmunds-claude-code:api-testclaude-sonnet-4-5commands/api/The summary Claude sees in its command listing — used to decide when to auto-load this command
Generate comprehensive API tests for the specified endpoint. ## Target $ARGUMENTS ## Test Strategy for Solo Developers Create practical, maintainable tests using modern tools: ### 1. **Testing Approach** - Unit tests for validation logic - Integration tests for full API flow - Edge case coverage - Error scenario testing ### 2. **Tools** (choose based on project) - **Vitest** - Fast, modern (recommended for new projects) - **Jest** - Established, widely used - **Supertest** - HTTP assertions - **MSW** - API mocking ### 3. **Test Coverage** **Happy Paths** - Valid inputs return expect...
Generate comprehensive API tests for the specified endpoint.
$ARGUMENTS
Create practical, maintainable tests using modern tools:
Happy Paths
Error Paths
Edge Cases
describe('API Endpoint', () => {
describe('Success Cases', () => {
it('should handle valid request', () => {})
it('should return correct status code', () => {})
})
describe('Validation', () => {
it('should reject invalid input', () => {})
it('should validate required fields', () => {})
})
describe('Error Handling', () => {
it('should handle server errors', () => {})
it('should return proper error format', () => {})
})
})
Authentication/Authorization
Data Validation
Rate Limiting
Performance
Generate production-ready tests I can run immediately with npm test.
7plugins reuse this command
First indexed Jun 20, 2026
Showing the 6 earliest of 7 plugins
npx claudepluginhub giavinh2010/edmunds-claude-code