Confirmed users
6,300
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
== What are Minimal Test Cases? == | |||
Finding the inherent issue of a bug report and providing an excellent reproduction scenario is more of an [http://en.wikipedia.org/wiki/Root_cause_analysis art form] than a simple process. It takes reading comprehension, technical savvy and whole lot of effort to get through the process. So, most of the Bug Triagers in the MozQA community are excellent prolem solvers. So, it's really important to create a quality reproduction scenario to help out the community members who will be patching your issue. | Finding the inherent issue of a bug report and providing an excellent reproduction scenario is more of an [http://en.wikipedia.org/wiki/Root_cause_analysis art form] than a simple process. It takes reading comprehension, technical savvy and whole lot of effort to get through the process. So, most of the Bug Triagers in the MozQA community are excellent prolem solvers. So, it's really important to create a quality reproduction scenario to help out the community members who will be patching your issue. | ||
== A Simple Example of Bug Deconstruction == | |||
In order to do this, let's deconstruct a bug. Firstly, here are some steps for using the process of elimination to create a minimal test-case from a web page that displays a consistent bug. | In order to do this, let's deconstruct a bug. Firstly, here are some steps for using the process of elimination to create a minimal test-case from a web page that displays a consistent bug. | ||
# Save the web page on your local hard drive. Make a second copy. | # Save the web page on your local hard drive. Make a second copy. | ||
| Line 22: | Line 24: | ||
if the bug involves line wrapping, then the width of the window and the font size may impact the results. In this case, you can ensure that your reduced testcase will work for everyone by using "font-family: monospace;" and a width specified in "ch" units. | if the bug involves line wrapping, then the width of the window and the font size may impact the results. In this case, you can ensure that your reduced testcase will work for everyone by using "font-family: monospace;" and a width specified in "ch" units. | ||
== What do I take away from this? == | |||
Now, this can all be rather intimidating for people who haven't been playing around with different web technologies such as [http://en.wikipedia.org/wiki/Ajax_%28programming%29 AJAX], [http://en.wikipedia.org/wiki/JavaScript JS], or [http://en.wikipedia.org/wiki/XML XML] for a long time, but the most important thing to take away from this page is that there's a back-end to the bugs you find when interacting with any software, hardware, or general product. Make sure to take that into account when writing your next bug or triaging a host of incoming bugs on Bugzilla! | Now, this can all be rather intimidating for people who haven't been playing around with different web technologies such as [http://en.wikipedia.org/wiki/Ajax_%28programming%29 AJAX], [http://en.wikipedia.org/wiki/JavaScript JS], or [http://en.wikipedia.org/wiki/XML XML] for a long time, but the most important thing to take away from this page is that there's a back-end to the bugs you find when interacting with any software, hardware, or general product. Make sure to take that into account when writing your next bug or triaging a host of incoming bugs on Bugzilla! | ||