15 lines
343 B
Batchfile
15 lines
343 B
Batchfile
@echo off
|
|
REM Run unit tests only (no integration tests)
|
|
|
|
echo Running unit tests...
|
|
.venv\Scripts\python.exe -m pytest tests/unit/ -v --cov=app --cov-report=term-missing --cov-report=html
|
|
|
|
if %ERRORLEVEL% EQU 0 (
|
|
echo.
|
|
echo ✓ All unit tests passed!
|
|
) else (
|
|
echo.
|
|
echo ✗ Some unit tests failed!
|
|
exit /b %ERRORLEVEL%
|
|
)
|