# Run all tests (Backend + Frontend) Write-Host "๐Ÿงช Running Sublarr Tests..." -ForegroundColor Cyan Write-Host "" # Backend Tests Write-Host "๐Ÿ Backend Tests (pytest)..." -ForegroundColor Yellow Set-Location backend python -m pytest tests/ -v --tb=short $backendExit = $LASTEXITCODE Set-Location .. Write-Host "" # Frontend Tests Write-Host "โš›๏ธ Frontend Tests (vitest)..." -ForegroundColor Yellow Set-Location frontend npm run test -- --run $frontendExit = $LASTEXITCODE Set-Location .. Write-Host "" if ($backendExit -eq 0 -and $frontendExit -eq 0) { Write-Host "โœ… All tests passed!" -ForegroundColor Green } else { Write-Host "โŒ Some tests failed" -ForegroundColor Red exit 1 }