Skip to content

Commit e3f6449

Browse files
authored
fix #5308
1 parent 6578081 commit e3f6449

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Reports/2026/#367-2026.03.30.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050

5151
[@david-clang](https://github.com/david-clang):Xcode 26 Compilation Cache 的根本目标不仅是让编译器提速 5%,而是彻底停止重复已完成的工作。相比缺乏复用能力的 DerivedData,新机制在输入源未变时会直接提取缓存。这在切换分支、清理重建及高频 CI 场景下,能免去大量无谓的编译损耗。当然,若项目真正的瓶颈在于资源处理或繁杂的脚本,它也并非一劳永逸的银弹。
5252

53+
### 🐎 [Testing with Event Streams](https://www.massicotte.org/blog/testing-event-stream/)
54+
55+
[@AidenRao](https://weibo.com/AidenRao):这篇文章讲的是把一批“靠回调驱动的异步测试”从 XCTest 迁移到 Swift Testing 时,如何既验证回调**是否发生**,又验证**发生顺序**。作者对比了 `XCTestExpectation`、Swift Testing 的 `confirmation`(容易写成层层嵌套且难区分顺序),最终给出一个很实用的解法:用 `AsyncStream` 把回调事件“汇总成事件流”,再在测试里收集并断言事件序列,顺手还封装了一个小型 `EventStream` wrapper 来减少样板代码。
56+
5357
## 工具
5458

5559
> 开发过程中常用的工具,及一些新工具的介绍

0 commit comments

Comments
 (0)