Files
Rail_Enterprise/scripts/test.sh
T
Claude 290a1d886c F0: fondamenta della soluzione, script, documenti e harness di test
- ViaFerrea.sln con Core e Protocol (net10.0 + net8.0), Server, Tools, Tests
- Directory.Build.props con versione unica e warning come errori
- Script build/test/check-nuget/publish-image (+ build.ps1)
- Documenti: GUIDA, GDD, ARCHITECTURE, PROTOCOL (bozza), STATE, ADR 0001
- Harness di test interno con i primi test su Rng (xoshiro256**)
- Immagini di riferimento 01-05

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0191R7vXgtbAvSV4V8tj8uzL
2026-10-01 21:50:41 +00:00

14 lines
563 B
Bash
Executable File

#!/usr/bin/env bash
# Esegue la validazione dei dati e tutti i test con l'harness interno.
# Uso: scripts/test.sh [filtri...] [--skip-slow] [--serial]
set -euo pipefail
cd "$(dirname "$0")/.."
export DOTNET_CLI_TELEMETRY_OPTOUT=1 DOTNET_NOLOGO=1
scripts/check-nuget.sh
dotnet build ViaFerrea.sln -c Release -nologo -v quiet
if [ -f src/ViaFerrea.Tools/Commands/ValidateDataCommand.cs ]; then
dotnet run --project src/ViaFerrea.Tools -c Release --no-build -- validate-data --data data
fi
dotnet run --project tests/ViaFerrea.Tests -c Release --no-build -- "$@"