Posted in

为什么资深Go团队禁用t.Parallel()?——并发测试的5个隐藏陷阱与替代方案(含race detector实测报告)

第一章:为什么资深Go团队禁用t … 为什么资深Go团队禁用t.Parallel()?——并发测试的5个隐藏陷阱与替代方案(含race detector实测报告)Read more

Posted in

【Go并发单元测试必修课】:testing.T.Parallel()陷阱、test-only channel mock、race detector精准开启指南

第一章:Go并发编程指南 Go语 … 【Go并发单元测试必修课】:testing.T.Parallel()陷阱、test-only channel mock、race detector精准开启指南Read more

Posted in

Go并发测试怎么写才可靠?——覆盖data race、goroutine leak、context deadline的5类集成测试模板(含testify+ginkgo实战)

第一章:Go并发测试的核心挑战与 … Go并发测试怎么写才可靠?——覆盖data race、goroutine leak、context deadline的5类集成测试模板(含testify+ginkgo实战)Read more