-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrun-tests.sh
More file actions
executable file
·25 lines (22 loc) · 1.55 KB
/
Copy pathrun-tests.sh
File metadata and controls
executable file
·25 lines (22 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash
# Run the full duroxide test suite in two passes:
# Pass 1: --all-features (enables replay-version-test, runs v2 acceptance tests)
# Pass 2: no features (runs v1 serde rejection tests — proves v2 events are rejected)
#
# Usage:
# ./run-tests.sh # both passes
# ./run-tests.sh -E 'test(/pattern/)' # forward extra args to nextest
set -eo pipefail
echo "═══════════════════════════════════════════════════"
echo " Pass 1: cargo nextest run --all-features"
echo "═══════════════════════════════════════════════════"
cargo nextest run --all-features "$@"
echo ""
echo "═══════════════════════════════════════════════════"
echo " Pass 2: cargo nextest run (no feature flags)"
echo "═══════════════════════════════════════════════════"
cargo nextest run "$@"
echo ""
echo "═══════════════════════════════════════════════════"
echo " ✓ Both passes succeeded"
echo "═══════════════════════════════════════════════════"