DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
test(e2e): 插件 e2e 文件去掉编号前缀,同步协议文档引用
hairyf7ef1cb9831bb
diff --git a/docs/specs/testing.md b/docs/specs/testing.mdindex 0aaf29da..4e08e086 100644--- a/docs/specs/testing.md+++ b/docs/specs/testing.md@@ -351,10 +351,10 @@ node node_modules/vitest/vitest.mjs run --project unit --sequence.shuffle --sequ| `packages/dsh-tauri-turnrewind/src/host/utils/lock.test.ts:330` | 用例内 O(10000) 暴力搜索造碰撞夹具(本身即被测算法) || `packages/dsh-tauri-rightclick/src/client/service/menu.test.ts` | 50 行左右的文件 mock 掉 `../apis`、`../locales`、`dsh-tauri/client` 三个依赖,用例全在验透传 / 验 mock 返回值(D4) || `packages/dsh-tauri-worktree/src/host/service/worktree.test.ts` | `expect(ok).toBe(true); if (!ok) return` 收窄样板重复多次,未抽 helper |-| `test/e2e/plugins/01-dsh-host-and-core-contract.e2e.ts:48` | 断言临时目录名这种实现细节(`toContain('dsh-e2e-dsh-tauri-')`) |-| `test/e2e/plugins/01-dsh-host-and-core-contract.e2e.ts:268` | 先断 `toBe(404)` 再断 `not.toBe(200)`,第二条零信息(D1) |-| `test/e2e/plugins/01-dsh-host-and-core-contract.e2e.ts:139` | 进程级 `process.env.DSH_E2E_MOUNT = 'cli'`,靠 `fileParallelism: false` + `finally` 兜底 |-| `test/e2e/plugins/02-dsh-tauri-pet.e2e.ts:190` | 时序脆弱断言:`expect(read.chunks, '就绪帧必须在首个响应块内到达').toBe(1)` 依赖网络分块行为 |+| `test/e2e/plugins/dsh-host-and-core-contract.e2e.ts:48` | 断言临时目录名这种实现细节(`toContain('dsh-e2e-dsh-tauri-')`) |+| `test/e2e/plugins/dsh-host-and-core-contract.e2e.ts:268` | 先断 `toBe(404)` 再断 `not.toBe(200)`,第二条零信息(D1) |+| `test/e2e/plugins/dsh-host-and-core-contract.e2e.ts:139` | 进程级 `process.env.DSH_E2E_MOUNT = 'cli'`,靠 `fileParallelism: false` + `finally` 兜底 |+| `test/e2e/plugins/dsh-tauri-pet.e2e.ts:190` | 时序脆弱断言:`expect(read.chunks, '就绪帧必须在首个响应块内到达').toBe(1)` 依赖网络分块行为 || `test/e2e/desktop/boot.e2e.ts:85` | `describe.skipIf(process.platform === 'darwin')` || `test/e2e/desktop/02-pet-window.e2e.ts:108` | `describe.skipIf(process.platform !== 'win32')` || `test/plugin-resource-closure.test.ts:43` | `describe.skipIf(!BUILT)`,不构建则整组用例在 CI 里从不执行(CI 用 `pnpm build:plugins` 兜住) |diff --git a/test/e2e/plugins/01-dsh-host-and-core-contract.e2e.ts b/test/e2e/plugins/dsh-host-and-core-contract.e2e.tssimilarity index 100%rename from test/e2e/plugins/01-dsh-host-and-core-contract.e2e.tsrename to test/e2e/plugins/dsh-host-and-core-contract.e2e.tsdiff --git a/test/e2e/plugins/11-dsh-tauri-connection.e2e.ts b/test/e2e/plugins/dsh-tauri-connection.e2e.tssimilarity index 100%rename from test/e2e/plugins/11-dsh-tauri-connection.e2e.tsrename to test/e2e/plugins/dsh-tauri-connection.e2e.tsdiff --git a/test/e2e/plugins/10-dsh-tauri-model-config.e2e.ts b/test/e2e/plugins/dsh-tauri-model-config.e2e.tssimilarity index 100%rename from test/e2e/plugins/10-dsh-tauri-model-config.e2e.tsrename to test/e2e/plugins/dsh-tauri-model-config.e2e.tsdiff --git a/test/e2e/plugins/07-dsh-tauri-panel-extension.e2e.ts b/test/e2e/plugins/dsh-tauri-panel-extension.e2e.tssimilarity index 100%rename from test/e2e/plugins/07-dsh-tauri-panel-extension.e2e.tsrename to test/e2e/plugins/dsh-tauri-panel-extension.e2e.tsdiff --git a/test/e2e/plugins/08-dsh-tauri-panel-scheduler.e2e.ts b/test/e2e/plugins/dsh-tauri-panel-scheduler.e2e.tssimilarity index 100%rename from test/e2e/plugins/08-dsh-tauri-panel-scheduler.e2e.tsrename to test/e2e/plugins/dsh-tauri-panel-scheduler.e2e.tsdiff --git a/test/e2e/plugins/02-dsh-tauri-pet.e2e.ts b/test/e2e/plugins/dsh-tauri-pet.e2e.tssimilarity index 100%rename from test/e2e/plugins/02-dsh-tauri-pet.e2e.tsrename to test/e2e/plugins/dsh-tauri-pet.e2e.tsdiff --git a/test/e2e/plugins/03-dsh-tauri-rightclick.e2e.ts b/test/e2e/plugins/dsh-tauri-rightclick.e2e.tssimilarity index 100%rename from test/e2e/plugins/03-dsh-tauri-rightclick.e2e.tsrename to test/e2e/plugins/dsh-tauri-rightclick.e2e.tsdiff --git a/test/e2e/plugins/04-dsh-tauri-session.e2e.ts b/test/e2e/plugins/dsh-tauri-session.e2e.tssimilarity index 100%rename from test/e2e/plugins/04-dsh-tauri-session.e2e.tsrename to test/e2e/plugins/dsh-tauri-session.e2e.tsdiff --git a/test/e2e/plugins/09-dsh-tauri-turnrewind.e2e.ts b/test/e2e/plugins/dsh-tauri-turnrewind.e2e.tssimilarity index 100%rename from test/e2e/plugins/09-dsh-tauri-turnrewind.e2e.tsrename to test/e2e/plugins/dsh-tauri-turnrewind.e2e.tsdiff --git a/test/e2e/plugins/06-dsh-tauri-ui.e2e.ts b/test/e2e/plugins/dsh-tauri-ui.e2e.tssimilarity index 100%rename from test/e2e/plugins/06-dsh-tauri-ui.e2e.tsrename to test/e2e/plugins/dsh-tauri-ui.e2e.tsdiff --git a/test/e2e/plugins/05-dsh-tauri-worktree.e2e.ts b/test/e2e/plugins/dsh-tauri-worktree.e2e.tssimilarity index 100%rename from test/e2e/plugins/05-dsh-tauri-worktree.e2e.tsrename to test/e2e/plugins/dsh-tauri-worktree.e2e.ts