veza/tmt/tests/services/rust_test.sh
senke ad60247f33 feat: global update including storybook setup and backend fixes
- Web: Setup Storybook, added addons, configured Tailwind, added stories for UI components.
- Backend: Updated API router, database, workers, and auth in common.
- Stream Server: Removed SQLx queries and updated auth.
- Docs & Scripts: Updated documentation and recovery scripts.
2026-02-02 19:34:14 +01:00

28 lines
566 B
Bash
Executable file

#!/bin/bash
set -e
REPO_ROOT=$(git rev-parse --show-toplevel)
CHAT_DIR="$REPO_ROOT/veza-chat-server"
STREAM_DIR="$REPO_ROOT/veza-stream-server"
echo "📍 Services Unit Tests"
# Chat Server
echo "🦀 Testing Chat Server..."
if [ -d "$CHAT_DIR" ]; then
cd "$CHAT_DIR"
cargo test
else
echo "⚠️ Chat Server directory not found!"
fi
# Stream Server
echo "🦀 Testing Stream Server..."
if [ -d "$STREAM_DIR" ]; then
cd "$STREAM_DIR"
cargo test
else
echo "⚠️ Stream Server directory not found!"
fi
echo "✅ Service tests passed."