feat(test): 添加 54 个集成测试 + macOS 手动验证报告#2
Merged
Conversation
- 添加 5 个集成测试文件 (54 tests): diff、scenario、sandbox、recorder、error - 添加 2 个 YAML fixtures (full_scenario.yaml, minimal.yaml) - 添加完整的 macOS 手动验证报告 tests/REPORT.md - 报告覆盖 52 个功能点的实现/测试/手动验证状态矩阵 - 验证通过: HTTP 17/18 端点, MCP 10/10 工具, CLI 4/4 子命令 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
🔒 门禁检查结果
Rust 测试覆盖率
✅ 所有检查通过,可以合入
|
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
添加本地测试产物目录到 .gitignore,避免提交测试截图和报告。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1. 添加 build.rs 设置 Swift rpath,解决动态库加载问题 2. 添加 capture_sandbox_by_id(window_id) 支持指定窗口截图 3. 添加 UI inspect 递归深度限制 (MAX_UI_DEPTH=30) + spawn_blocking 4. 改用 `open` 命令替代 ObjC API,避免 App spawn 崩溃 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tests/REPORT.md— 覆盖 52 个功能点的实现/测试/手动验证状态矩阵集成测试明细
diff_integration.rsscenario_integration.rssandbox_integration.rsrecorder_integration.rserror_integration.rsTest plan
cargo test -p sandbox-core— 67 个测试全部通过 (13 unit + 54 integration)🤖 Generated with Claude Code