Posted in

Go单元测试覆盖率幻觉破解:go test -coverprofile vs gocov vs goveralls在分支覆盖盲区上的3类对比实验

第一章:Go单元测试覆盖率幻觉的 … Go单元测试覆盖率幻觉破解:go test -coverprofile vs gocov vs goveralls在分支覆盖盲区上的3类对比实验Read more

Posted in

Go语言系统开发单元测试覆盖率盲区:如何用go test -coverprofile精准定位未覆盖的error path?

第一章:Go语言系统开发单元测试 … Go语言系统开发单元测试覆盖率盲区:如何用go test -coverprofile精准定位未覆盖的error path?Read more

Posted in

Go语言国测试覆盖率幻觉:87%项目unit test未覆盖error path,3个go test -coverprofile深度诊断法

第一章:Go语言国测试覆盖率幻觉 … Go语言国测试覆盖率幻觉:87%项目unit test未覆盖error path,3个go test -coverprofile深度诊断法Read more

Posted in

Go map删除key的测试覆盖率盲区:如何用go test -coverprofile精准捕获delete分支未覆盖场景(含mock框架适配方案)

第一章:Go map删除key的 … Go map删除key的测试覆盖率盲区:如何用go test -coverprofile精准捕获delete分支未覆盖场景(含mock框架适配方案)Read more

Posted in

map[string]bool的测试覆盖率盲区:如何用go test -coverprofile精准捕获nil map panic路径?

第一章:map[string]b … map[string]bool的测试覆盖率盲区:如何用go test -coverprofile精准捕获nil map panic路径?Read more

Posted in

Go声明数组和map的测试覆盖率盲区:如何用go test -coverprofile精准定位未覆盖的声明分支?

第一章:Go声明数组和map的测 … Go声明数组和map的测试覆盖率盲区:如何用go test -coverprofile精准定位未覆盖的声明分支?Read more