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.