← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 3330.l.1

可测试性受耦合限制

理解等级:中级

可测试性同时包含测试难易和覆盖完整性。有自动化测试不等于可测:过期、注释掉的用例和遗漏关键流程都会降低完整性。独立部署单元可缩小回归范围,但服务间通信增加后,改动A可能仍要测试B、C,分布式进程并不自动带来局部验证。

相关:[[模块化必须回应业务]]。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 架构模块化的业务驱动 · 查看原书依据

      Architectural modularity—the breaking apart of applications into smaller deployment units—significantly reduces the overall testing scope for changes made to a service, allowing for better completeness of testing as well as ease of testing. Not only does modularity result in smaller, more targeted test suites, but maintaining the unit tests becomes easier as well.

    参考来源

    - 位置:《Software Architecture: The Hard Parts》第3章《架构模块化的业务驱动》(来源项目:book-sources;源文件:extracted/Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)/_epub-src/OEBPS/ch03.xhtml) - 结论依据:原文的定义、比较或案例支持“可测试性同时包含测试难易和覆盖完整性”;正文据此解释其用途与适用边界。 - 原始内容:Architectural modularity—the breaking apart of applications into smaller deployment units—significantly reduces the overall testing scope for changes made to a service, allowing for better completeness of testing as well as ease of testing. Not only does modularity result in smaller, more targeted test suites, but maintaining the unit tests becomes easier as well.