Tests for Python/SMT

This commit is contained in:
2026-04-10 14:24:37 +01:00
parent 5df8d6aeb9
commit 6bddf4bf38
3 changed files with 583 additions and 0 deletions

27
tests/run_all_tests.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/usr/bin/env bash
# Runs all ReactICS regression tests (BDD + SMT)
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
cd "$ROOT_DIR"
failed=0
echo "========== BDD Tests =========="
echo
bash "$SCRIPT_DIR/run_tests.sh" || failed=1
echo
echo "========== SMT Tests (pytest) =========="
echo
python3 -m pytest "$SCRIPT_DIR/test_smt.py" -v || failed=1
echo
if [[ $failed -eq 0 ]]; then
echo "All test suites passed."
else
echo "Some tests FAILED."
exit 1
fi