CoolFace
Apppublic

lankasailendra/BMCTESTMAIN

sourceHugging Faceupdated 1d agoView on Hugging Face
0likes
testexecute-is.bat32 linesDownload Raw Back to client_executor
1@echo off2setlocal EnableExtensions3cd /d "%~dp0"4 5echo === Helix CoPilot — Helix Innovation Studio ===6echo.7 8set BMC_IS_URL=https://your-innovation-suite-host9set BMC_IS_USER=your-user10echo Enter Innovation Suite password for %BMC_IS_USER%:11for /f "delims=" %%i in ('powershell -NoProfile -Command "$p = Read-Host -AsSecureString; [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($p))"') do set "BMC_IS_PASSWORD=%%i"12 13if not exist reports mkdir reports14if not exist logs mkdir logs15 16if not defined BMC_PYTEST_TARGET set BMC_PYTEST_TARGET=.17REM set BMC_PYTEST_TARGET=test_helix_innovation_studio_generated.py::test_tc_is_00118 19for /f %%i in ('powershell -NoProfile -Command "Get-Date -Format yyyyMMdd_HHmmss"') do set RUN_TS=%%i20set "REPORT_HTML=%CD%\reports\run_%RUN_TS%.html"21set "REPORT_JUNIT=%CD%\reports\run_%RUN_TS%.xml"22 23python -c "import pytest_html" 2>nul24if errorlevel 1 (echo Run Install-HelixCoPilot-Client.bat & pause & exit /b 1)25 26echo Pytest target: %BMC_PYTEST_TARGET%27python -m pytest %BMC_PYTEST_TARGET% -v -s --tb=short -ra --html=%REPORT_HTML% --self-contained-html --junitxml=%REPORT_JUNIT%28set TEST_EXIT=%ERRORLEVEL%29echo Reports: %REPORT_HTML%30pause31exit /b %TEST_EXIT%32