Unittest Aufruf über unittest discover Aufruf
This commit is contained in:
@@ -13,12 +13,7 @@ if %ERRORLEVEL% NEQ 0 (
|
|||||||
exit /B 1
|
exit /B 1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
python -m unittest discover -t %PROJECT_LIB% -s lib\Elemente -p "*_tests.py" -v
|
||||||
REM Iterate through all CSV files in testdata directory
|
|
||||||
for %%f in (%PROJECT_LIB%\Elemente\*.py) do (
|
|
||||||
echo Processing: %%~nxf
|
|
||||||
python "%%f"
|
|
||||||
)
|
|
||||||
if %ERRORLEVEL% NEQ 0 (
|
if %ERRORLEVEL% NEQ 0 (
|
||||||
echo.
|
echo.
|
||||||
echo Tests failed!
|
echo Tests failed!
|
||||||
|
|||||||
@@ -25,16 +25,19 @@ esoffset = 479.95
|
|||||||
Umlenkstation = 500.0, 0.0, 0.0
|
Umlenkstation = 500.0, 0.0, 0.0
|
||||||
Motorstation = 500.0, 0.0, 0.0
|
Motorstation = 500.0, 0.0, 0.0
|
||||||
vario_abstand = 66.5
|
vario_abstand = 66.5
|
||||||
|
|
||||||
[Ils 2.0 core winkel]
|
[Ils 2.0 core winkel]
|
||||||
winkel_boegen = 3
|
winkel_boegen = 3
|
||||||
winkel_motor = 3.0
|
winkel_motor = 3.0
|
||||||
winkel_umlenk = 3.0
|
winkel_umlenk = 3.0
|
||||||
winkel_as = 3.0
|
winkel_as = 3.0
|
||||||
winkel_es = 3.0
|
winkel_es = 3.0
|
||||||
|
|
||||||
[Omniflo]
|
[Omniflo]
|
||||||
OFgeradesivas = 821106002
|
OFgeradesivas = 821106002
|
||||||
Tefgeradesivas = 0_B10030
|
Tefgeradesivas = 0_B10030
|
||||||
OFfoerderer = 2
|
OFfoerderer = 2
|
||||||
|
|
||||||
[Scanner_Stoper_namen]
|
[Scanner_Stoper_namen]
|
||||||
Omniflo_stopper = 827062022
|
Omniflo_stopper = 827062022
|
||||||
Omniflo_scanner = _DUMMY_SCANNER
|
Omniflo_scanner = _DUMMY_SCANNER
|
||||||
|
|||||||
Reference in New Issue
Block a user