Posted in

Go测试八股文被严重低估:table-driven test设计缺陷、testify断言陷阱、subtest并发竞态、-race检测盲区全揭露

第一章:Go测试八股文的系统性误 … Go测试八股文被严重低估:table-driven test设计缺陷、testify断言陷阱、subtest并发竞态、-race检测盲区全揭露Read more

Posted in

Go单元测试覆盖率破90%的硬核路径:table-driven tests设计范式、mock边界识别、test helper抽象层级、go:generate自动化测试桩生成

第一章:Go单元测试覆盖率破90 … Go单元测试覆盖率破90%的硬核路径:table-driven tests设计范式、mock边界识别、test helper抽象层级、go:generate自动化测试桩生成Read more

Posted in

【Go测试工程化权威标准】:从table-driven test到Monkey Patch再到TestMain全局初始化,覆盖率提升至92.7%

第一章:Go测试工程化演进全景图 … 【Go测试工程化权威标准】:从table-driven test到Monkey Patch再到TestMain全局初始化,覆盖率提升至92.7%Read more