{"id":235,"date":"2009-06-04T23:00:52","date_gmt":"2009-06-05T06:00:52","guid":{"rendered":"http:\/\/lyspeth.com\/blog\/2009\/06\/04\/how-to-write-a-good-bug-report\/"},"modified":"2009-06-04T23:00:52","modified_gmt":"2009-06-05T06:00:52","slug":"how-to-write-a-good-bug-report","status":"publish","type":"post","link":"https:\/\/lyspeth.com\/blog\/2009\/06\/04\/how-to-write-a-good-bug-report\/","title":{"rendered":"How to write a good bug report"},"content":{"rendered":"<p>A friend of mine was complaining tonight about how people don&#8217;t write good bug reports. A Google search for &#8220;how to write good bug reports&#8221; turned up some sensible advice on the subject, but mostly verbose and poorly-written.<\/p>\n<p>The best advice I ever got about how to write good bug reports was from my former manager. We use a tool at work that other people write for us, so they aren&#8217;t users, and we aren&#8217;t programmers. We have to work at it to write explanations that make sense to them, and they don&#8217;t intuitively understand what we&#8217;re expecting to happen in all cases.<\/p>\n<p>Her advice can be summed up in three short points:<\/p>\n<p>1. Tell them what the problem behavior is.<br \/>\n2. Tell them what you did that led to the problem behavior.<br \/>\n3. Tell them what behavior you want instead.<\/p>\n<p>#2 is extremely important. Be as specific as possible. Write it down in a series of numbered steps. In programmer-speak this is called &#8220;steps to reproduce&#8221;. This will make your programmer happy and also make sure that they don&#8217;t ignore you because they can&#8217;t see the same problem on their setup and can&#8217;t be sure how you created it on yours.<\/p>\n<p>Personally, I was having the most trouble with #3, remembering not just to complain about the problem and assume they would know why it was a problem and what the solution was, but to explain exactly what I wanted instead, in detail. Trust me, the programmer doesn&#8217;t automatically know what you want. They&#8217;re hired to write code, not read minds.<\/p>\n<p>Now go forth, and write good bug reports. <\/p>\n<p>If your organization happens to use Bugzilla, <a href=\"http:\/\/bugzilla.gnome.org\/page.cgi?id=bug-writing.html\">this information<\/a> (particularly about how to write a good summary) may also be helpful.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A friend of mine was complaining tonight about how people don&#8217;t write good bug reports. A Google search for &#8220;how to write good bug reports&#8221; turned up some sensible advice on the subject, but mostly verbose and poorly-written. The best advice I ever got about how to write good bug reports was from my former [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[],"_links":{"self":[{"href":"https:\/\/lyspeth.com\/blog\/wp-json\/wp\/v2\/posts\/235"}],"collection":[{"href":"https:\/\/lyspeth.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyspeth.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyspeth.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyspeth.com\/blog\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":0,"href":"https:\/\/lyspeth.com\/blog\/wp-json\/wp\/v2\/posts\/235\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyspeth.com\/blog\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyspeth.com\/blog\/wp-json\/wp\/v2\/categories?post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyspeth.com\/blog\/wp-json\/wp\/v2\/tags?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}