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!
+3
View File
@@ -25,16 +25,19 @@ esoffset = 479.95
Umlenkstation = 500.0, 0.0, 0.0
Motorstation = 500.0, 0.0, 0.0
vario_abstand = 66.5
[Ils 2.0 core winkel]
winkel_boegen = 3
winkel_motor = 3.0
winkel_umlenk = 3.0
winkel_as = 3.0
winkel_es = 3.0
[Omniflo]
OFgeradesivas = 821106002
Tefgeradesivas = 0_B10030
OFfoerderer = 2
[Scanner_Stoper_namen]
Omniflo_stopper = 827062022
Omniflo_scanner = _DUMMY_SCANNER