From eb3ca1d7a048ceef257a8e41c14ad21b304258cd Mon Sep 17 00:00:00 2001 From: m4 Date: Wed, 12 Aug 2026 19:55:46 +0800 Subject: [PATCH] docs: clarify uv run pytest rationale in plan --- docs/superpowers/plans/2026-08-12-config-import-export.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/superpowers/plans/2026-08-12-config-import-export.md b/docs/superpowers/plans/2026-08-12-config-import-export.md index 89e6455..4dad4f9 100644 --- a/docs/superpowers/plans/2026-08-12-config-import-export.md +++ b/docs/superpowers/plans/2026-08-12-config-import-export.md @@ -20,7 +20,7 @@ - i18n catalogs zh/en are updated in lockstep (same keys, same ICU vars) and the new domain module is registered in both `index.ts` files AND in the module list of `src/i18n/messages/messages.test.ts` (that test hardcodes the list — forgetting it fails the suite). - Backend `expected_revision` is deprecated (last-write-wins); import bodies still send the current revision because the BFF PUT route requires it, but no 409/conflict handling is built. - WebUI tests: vitest node env, include pattern `src/**/*.test.ts` only (no Testing Library, no jsdom, no `.tsx` tests). All testable logic lives in pure `.ts` modules. -- Test commands — backend: `cd /Users/m4/Projects/EvoSci/OriginEvoScientist/EvoScientist && uv run pytest tests/test_config_export.py -v` (plain `uv run pytest` has no pytest module). WebUI: `cd /Users/m4/Projects/EvoSci/OriginEvoScientist/EvoScientist-WebUI && npx vitest run ` and `npx tsc --noEmit`. +- Test commands — backend: `cd /Users/m4/Projects/EvoSci/OriginEvoScientist/EvoScientist && uv run pytest tests/test_config_export.py -v` (system `python` has no pytest module; always use `uv run pytest`). WebUI: `cd /Users/m4/Projects/EvoSci/OriginEvoScientist/EvoScientist-WebUI && npx vitest run ` and `npx tsc --noEmit`. ---