Unittest Aufruf über unittest discover Aufruf

This commit is contained in:
2026-01-28 11:09:49 +01:00
parent 4aae9e153d
commit 85132193dd
2 changed files with 4 additions and 6 deletions
+1 -6
View File
@@ -13,12 +13,7 @@ if %ERRORLEVEL% NEQ 0 (
exit /B 1
)
REM Iterate through all CSV files in testdata directory
for %%f in (%PROJECT_LIB%\Elemente\*.py) do (
echo Processing: %%~nxf
python "%%f"
)
python -m unittest discover -t %PROJECT_LIB% -s lib\Elemente -p "*_tests.py" -v
if %ERRORLEVEL% NEQ 0 (
echo.
echo Tests failed!