This folder contains smoke tests for bundled CLI tools under apps/electron/resources/scripts/.
From repo root:
python3 -m unittest \
apps.electron.resources.scripts.tests.test_pdf_tool_smoke \
apps.electron.resources.scripts.tests.test_xlsx_tool_smoke \
apps.electron.resources.scripts.tests.test_docx_tool_smoke \
apps.electron.resources.scripts.tests.test_pptx_tool_smoke \
apps.electron.resources.scripts.tests.test_img_tool_smoke \
apps.electron.resources.scripts.tests.test_ical_tool_smoke \
apps.electron.resources.scripts.tests.test_doc_diff_smoke \
apps.electron.resources.scripts.tests.test_markitdown_smokeOr use the root script:
bun run test:doc-toolspython3 -m unittest apps.electron.resources.scripts.tests.test_xlsx_tool_smoke- Tests execute the wrapper binaries in
resources/bin/*(not scripts directly). - The shared harness configures
CRAFT_UV,CRAFT_SCRIPTS, andPATH. - If bundled
uvis missing for your platform, harness falls back touvon PATH. - Tests create temporary fixtures at runtime and clean them up automatically.
If you modify any script in apps/electron/resources/scripts/ or wrapper in apps/electron/resources/bin/, update/add relevant smoke tests in this folder.