mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-10 16:04:04 +00:00
test(multiplayer): strengthen local verification gate
This commit is contained in:
@@ -12,6 +12,15 @@ fi
|
||||
echo "local multiplayer gate: Go tests"
|
||||
(cd "$root_dir/server" && go test ./...)
|
||||
|
||||
echo "local multiplayer gate: Go race and vet"
|
||||
(cd "$root_dir/server" && go test -race ./...)
|
||||
(cd "$root_dir/server" && go vet ./...)
|
||||
|
||||
echo "local multiplayer gate: bounded fuzz targets"
|
||||
(cd "$root_dir/server" && go test ./domain -fuzz FuzzQueueCreateDoesNotPanic -fuzztime=2s)
|
||||
(cd "$root_dir/server" && go test ./domain -fuzz FuzzResultDigestIsDeterministic -fuzztime=2s)
|
||||
(cd "$root_dir/server" && go test ./domain -fuzz FuzzSyncEventApplicationDoesNotPanic -fuzztime=2s)
|
||||
|
||||
echo "local multiplayer gate: Godot harness"
|
||||
"$godot_bin" --headless --path "$root_dir/Game" res://tests/test_runner.tscn
|
||||
|
||||
|
||||
Reference in New Issue
Block a user