21 lines
421 B
Batchfile
21 lines
421 B
Batchfile
@echo off
|
|
REM Run tests script for Windows
|
|
|
|
echo Running Brief Bench tests...
|
|
echo.
|
|
|
|
REM Check if pytest is installed
|
|
python -c "import pytest" 2>nul
|
|
if errorlevel 1 (
|
|
echo Installing dev dependencies...
|
|
pip install -r requirements-dev.txt
|
|
)
|
|
|
|
REM Run tests
|
|
pytest -v --cov=app --cov-report=term-missing --cov-report=html
|
|
|
|
REM Show coverage summary
|
|
echo.
|
|
echo Coverage report generated in htmlcov\index.html
|
|
pause
|