知识卡片

普通读书笔记卡 · 1712.e

可测试性让故障容易显现

理解等级:高级

可测试性关心已有缺陷多容易在测试中表现为失败,也包括复现与定位根因的成本。测试判定器oracle把输出或内部状态与期望比较,质量属性如耗时也可作为输出。场景可规定准备环境、进入状态和达到覆盖所需时间,覆盖率高不单独证明无缺陷,判定器本身也必须正确。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 可测试性 · 查看原书依据

      An oracle is an agent (human or computational) that decides whether the output is correct by comparing the output to the expected result. Output is not just the functionally produced value, but can also include derived measures of quality attributes such as how long it took to produce the output.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第12章《可测试性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch12.html) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:An oracle is an agent (human or computational) that decides whether the output is correct by comparing the output to the expected result. Output is not just the functionally produced value, but can also include derived measures of quality attributes such as how long it took to produce the output.