test-server
스타13
포크1
업데이트2026년 4월 7일 20:03
Run the server test suite using .test_env variables and the project virtualenv
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SKILL.md
readonly메뉴
Run the server test suite using .test_env variables and the project virtualenv
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | test-server |
| description | Run the server test suite using .test_env variables and the project virtualenv |
| allowed-tools | Bash(docker:*), Bash(cd:*), Read, Grep |
Run the backend test suite for the History Atlas server.
/test-server [args]
Arguments are passed to pytest. Examples:
/test-server — run the full suite/test-server -k test_nearby — run tests matching a pattern/test-server tests/test_history.py — run a specific test file/test-server -x — stop on first failureRun via Docker Compose (the standard method from CLAUDE.md):
cd /Users/josh/dev/thehistoryatlas
docker compose -f test_server.yaml up server --exit-code-from server
If arguments are provided, run locally with the test environment instead:
cd /Users/josh/dev/thehistoryatlas/server
set -a && source /Users/josh/dev/thehistoryatlas/.test_env && set +a
/Users/josh/dev/thehistoryatlas/env/bin/python -m pytest -vvv $ARGUMENTS
.test_env for environment variables — NEVER .env.local (that points at production)./Users/josh/dev/thehistoryatlas/env.