Test Api banner
codingthefuturewithai codingthefuturewithai

Test Api

Testing community

Description

--- description: Test Python backend API endpoints using pytest usage: /project:test-api [ENDPOINT-PATTERN] [TEST-TYPE] example: /project:test-api /api/users all --- I'll test the backend API using pytest, focusing on $ARGUMENTS. ## Step 1: Analyze API Structure First, let me understand the API structure: ### Find API endpoints !find . -name "*.py" -type f | xargs grep -l "@app\|@router\|@api" | grep -v __pycache__ | head -20 ### Check existing tests !find . -path "*/test*" -name "*.py" | g

Installation

Installs to ~/.claude/commands/codingthefuturewithai-conduit-test-api.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/codingthefuturewithai/conduit/HEAD/.claude/commands/test-api.md -o ~/.claude/commands/codingthefuturewithai-conduit-test-api.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository