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!
|
||||
|
||||
Reference in New Issue
Block a user