Posted in

Go测试并行陷阱大全:TestMain全局状态污染、t.Parallel()误用、临时文件竞态——3类必现Bug复现与隔离方案

第一章:Go测试并行陷阱的底层原 … Go测试并行陷阱大全:TestMain全局状态污染、t.Parallel()误用、临时文件竞态——3类必现Bug复现与隔离方案Read more

Posted in

Go语言v8单元测试提速秘技:testmain自定义+test binary缓存+parallel subtest调度优化,单测执行快4.8倍

第一章:Go语言v8单元测试提速 … Go语言v8单元测试提速秘技:testmain自定义+test binary缓存+parallel subtest调度优化,单测执行快4.8倍Read more

Posted in

Go测试并行陷阱:TestMain中全局state未隔离、t.Parallel()与subtest嵌套冲突、testing.TB方法在goroutine中调用panic的3种静默失败模式

第一章:Go测试并行陷阱:Tes … Go测试并行陷阱:TestMain中全局state未隔离、t.Parallel()与subtest嵌套冲突、testing.TB方法在goroutine中调用panic的3种静默失败模式Read more