接口指纹化防重构风险
← 返回今日版面来源
1 条行为测试无法揭示接口变化。重构可能保持所有测试绿色,同时重命名公共函数、删除默认参数或更改类基。 Treat the public surface as a hard constraint. Measure it mechanically before and after. Split the diff the mom
行为测试无法揭示接口变化。重构可能保持所有测试绿色,同时重命名公共函数、删除默认参数或更改类基。 Treat the public surface as a hard constraint. Measure it mechanically before and after. Split the diff the mom