Commit prior to Claude Code implementation on VM

This commit is contained in:
2026-03-01 14:45:15 +00:00
parent a1d24354a0
commit f7c5ac2d89
14 changed files with 21711 additions and 0 deletions

22
tests/run_tests.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
set -e
cd /app
pip install pytest pytest-asyncio httpx --break-system-packages -q 2>/dev/null
echo "============================================="
echo " Life OS Dynamic Test Suite"
echo "============================================="
echo ""
case "${1}" in
smoke) echo ">> Smoke tests"; python -m pytest tests/test_smoke_dynamic.py -v --tb=short ;;
crud) echo ">> CRUD tests"; python -m pytest tests/test_crud_dynamic.py -v --tb=short ;;
logic) echo ">> Business logic"; python -m pytest tests/test_business_logic.py -v --tb=short ;;
report) echo ">> Route report"; python -m tests.route_report ;;
fast) echo ">> Smoke, stop on fail"; python -m pytest tests/test_smoke_dynamic.py -v --tb=short -x ;;
"") echo ">> Full suite"; python -m pytest tests/ -v --tb=short ;;
*) echo ">> Custom: $@"; python -m pytest tests/ "$@" ;;
esac
echo ""
echo "Done"