From 0232e54f370397e66cccb066f8c99c71dee1915d Mon Sep 17 00:00:00 2001 From: Michael Stangl Date: Thu, 9 Jul 2026 12:44:36 +0200 Subject: [PATCH] Add run_tests.bat/.sh to run the unittest suite via bin/ Follows the same setenv-based convention as the other bin/ scripts and runs python -m unittest discover against tests/. Co-Authored-By: Claude Sonnet 5 --- bin/run_tests.bat | 8 ++++++++ bin/run_tests.sh | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 bin/run_tests.bat create mode 100644 bin/run_tests.sh diff --git a/bin/run_tests.bat b/bin/run_tests.bat new file mode 100644 index 0000000..94566de --- /dev/null +++ b/bin/run_tests.bat @@ -0,0 +1,8 @@ +@echo off +REM ================================================================ +REM Fuehrt die unittest-Suite in tests/ aus +REM ================================================================ + +call "%~dp0setenv.bat" + +python -m unittest discover -s "%PLATZ%\tests" -p "test_*.py" -v diff --git a/bin/run_tests.sh b/bin/run_tests.sh new file mode 100644 index 0000000..6f4e19d --- /dev/null +++ b/bin/run_tests.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# ================================================================ +# Fuehrt die unittest-Suite in tests/ aus +# ================================================================ + +source "$(dirname "${BASH_SOURCE[0]}")/setenv.sh" + +python -m unittest discover -s "$PLATZ/tests" -p "test_*.py" -v