故意添加错误来评估 QA 流程

发布于 2024-09-04 17:10:21 字数 289 浏览 1 评论 0原文

您如何知道程序中已发现并解决了尽可能多的错误? 几年前,我读过一份有关调试的文档(我认为这是某种 HOWTO)。除其他外,该文档描述了一种技术,其中编程团队故意将错误添加到代码中并将其传递给质量检查团队。当发现所有故意已知的错误时,质量检查过程就被认为完成了。

不幸的是,我找不到该文档或任何描述此技巧的类似文档。有人可以指点我这样的文件吗?

编辑

为了让 Evgeny 高兴,让我解释一下第一段的最后一句话:

“在发现所有故意的错误之前,QA 过程尚未完成”

How do you know that as many bugs as possiblle have been discovered and solved in a program?
Couple of years ago I have read a document about debugging (I think it was some sort of HOWTO). Among other things, that document described a technique in which the programming team deliberately adds bugs into the code and passes it to the QA team. The QA process is considered completed when all the deliberately known bugs have been discovered.

Unfortunately, I cannot find this document, or any similar one with description of this trick. Can someone please point me to such a document?

EDIT

To make Evgeny happy, let me paraphrase the last sentence of the first paragraph:

"The QA process isn't complete before all the deliberate bugs are found"

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

日久见人心 2024-09-11 17:10:21

该技术的一个名称是“故障注入”。关于该主题的一本较旧的书是 “软件故障注入:针对错误接种程序”< /a> 作者:杰弗里·沃斯和加里·麦格劳。

One name for the technique is 'Fault Injection'. One of the older books on the subject is 'Software Fault Injection: Inoculating Programs Against Errors' by Jeffrey Voas and Gary McGraw.

甜柠檬 2024-09-11 17:10:21

我从未见过这样的文档,但我不会仅仅因为发现了你故意的错误就说 QA 过程是“完整的”。这是确保您的 QA 团队不会太懒的好方法,但您无法真正确保他们进行了足够测试。

根本不可能知道所有错误(或“尽可能多的错误”)都已被发现。您所能做的就是遵循彻底、深思熟虑的测试方法,让自己有一个好的机会。

I've never seen such a document, but I'd be wary of saying the QA process is "complete" just because your deliberate bugs have been found. It's a good way of ensuring that your QA team doesn't get too lazy, but you can't really ensure they did enough testing.

It's fundamentally impossible to know that all bugs (or "as many bugs as possible") have been discovered. All you can do is follow a thorough, well thought-out testing approach to give yourself a good shot at it.

葬花如无物 2024-09-11 17:10:21

我通常发现有很多错误可供 QA 发现,而不必注入任何故意的错误!我宁愿让我的 QA 团队继续寻找我从未想象过的系统中可能存在的错误。

和 Evgeny 一样,当发现一组已知错误时,我会非常谨慎地宣布 QA 流程完成。我更喜欢使用退出标准,例如:

  • 为此版本定义的所有功能都已完成吗?
  • 所有计划的测试用例都已执行吗?
  • 未解决的错误数量是否在可接受的限度内(例如,没有关键或高优先级错误,少于 10 个低优先级错误等)

I usually find that there are plenty of bugs for QA to find, without having to inject any deliberate ones ! I'd much rather have my QA team continue to find bugs that I never even imagined could be in the system.

Like Evgeny, I'd be very wary of calling the QA process complete when a set of known bugs has been found. I prefer to use exit criteria such as:

  • Have all features defined for this release been completed ?
  • Have all planned test cases been executed ?
  • Is the open bug count within the accepted limits (e.g. no critical or high priority bugs, less than 10 low priority bugs, etc.)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文