知识卡片
测试类型围绕风险组合
单元、集成、端到端、契约、探索、性能和故障测试各覆盖不同风险与反馈成本。按系统风险组合测试手段,避免用一种测试类型承载所有保证。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Principles of Software Architecture Modernization》第7章《Proper Service Testing》(源文件:`_epub-src/OPS/ch07.xhtml`,归一化正文 [4316:8470))
- 结论依据:原文逐一界定常见测试类型,强调不同测试在粒度和目标上的差异。
- 原始内容:Unit tests : Unit tests evaluate the smallest unit of code possible, such as the methods, functions and classes of an individual software component. Integration tests: Spanning multiple components, integration tests evaluate how specific components work together in a broader software system. End to End (E2E) tests : Demonstrate complete application functionality, typically through a fully deployed environment. E2E tests use multiple components, data, and the entire application stack to evaluate specific user flows.