16 lines
349 B
Bash
Executable File
16 lines
349 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
|
|
|
echo "=== Running Rust tests ==="
|
|
cargo test --manifest-path "$PROJECT_ROOT/Cargo.toml"
|
|
|
|
echo "=== Running frontend unit tests ==="
|
|
cd "$PROJECT_ROOT/frontend"
|
|
npm test
|
|
|
|
echo "=== Running e2e tests ==="
|
|
npm run test:e2e
|