Unittest Aufruf über unittest discover Aufruf
This commit is contained in:
@@ -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!
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user