-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_all_tests.bat
More file actions
38 lines (32 loc) · 826 Bytes
/
run_all_tests.bat
File metadata and controls
38 lines (32 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
REM Info Naut - Run All Tests and Evaluation (Windows)
setlocal
echo ========================================
echo Info Naut - Comprehensive Test Suite
echo ========================================
echo.
cd backend
echo [1/3] Running Unit Tests...
python -m pytest tests/ -v --tb=short
if %errorlevel% neq 0 (
echo Unit tests failed!
exit /b 1
)
echo.
echo [2/3] Running Evaluation Harness...
python run_eval.py --test-math
if %errorlevel% neq 0 (
echo Evaluation math test failed!
exit /b 1
)
echo.
echo [3/3] Full Evaluation (if corpus exists)...
if exist ..\corpus\ (
python run_eval.py
) else (
echo Corpus not found, skipping full evaluation
)
echo.
echo ========================================
echo All Tests Completed Successfully!
echo ========================================