怎样高效地报告Bug

Posted 深圳地铁Princess

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了怎样高效地报告Bug相关的知识,希望对你有一定的参考价值。

Summary

  • The first aim of a bug report is to let the programmer see the failure with their own eyes. If you can‘t be with them to make it fail in front of them, give them detailed instructions so that they can make it fail for themselves.
  • In case the first aim doesn‘t succeed, and the programmer can‘t see it failing themselves, the second aim of a bug report is to describe what went wrong. Describe everything in detail. State what you saw, and also state what you expected to see. Write down the error messages, especially if they have numbers in.
  • When your computer does something unexpected, freeze. Do nothing until you‘re calm, and don‘t do anything that you think might be dangerous.
  • By all means try to diagnose the fault yourself if you think you can, but if you do, you should still report the symptoms as well.
  • Be ready to provide extra information if the programmer needs it. If they didn‘t need it, they wouldn‘t be asking for it. They aren‘t being deliberately awkward. Have version numbers at your fingertips, because they will probably be needed.
  • Write clearly. Say what you mean, and make sure it can‘t be misinterpreted.
  • Above all, be precise. Programmers like precision.

  作者想要传授的技巧简单说来就只有“详细”两个字,我们能够准确地描述出问题所在,程序开发者们才能有更多的精力去解决Bug而不是寻找Bug。

 

  https://www.chiark.greenend.org.uk/~sgtatham/bugs.html

以上是关于怎样高效地报告Bug的主要内容,如果未能解决你的问题,请参考以下文章

怎样高效地利用第三方UI组件

怎样高效地利用第三方UI组件

怎样高效地去判断Array中是否包含某个值?

程序员怎样高效学习英语?

怎样打造高效能团队?——软企管理转型之路(启航篇)

React:我怎样才能让这个 React 组件写得更好更高效?