How to log a defect/bug with a detailed description etc
1. Assign a bug number
Each reported defect should have its unique ID number. It will enable identifying the issue by the responsible developer and fixing it as soon as possible. Remember that each bug should be reported separately and that their ID should not be confusing. If you’re using a dedicated defect management system, such numbers will be generated automatically. In the case of Jira, the ID number is called a Jira Issue Key and is specific to every reported bug.
2. Prepare the right title
The title of a defect, called also a summary, is a crucial element of the description. It should immediately indicate the area of function in which it occurred and the type of the bug. Thanks to this, the responsible developer will be clearly informed about the defect and will be able to react immediately. Writing a consistent summary is important especially in more complex projects in which there are multiple errors that need to be split into different bug categories.
3. Be specific
Providing general information about the issue will definitely not be enough. To ensure efficient reporting and the fast reaction of the responsible developers, a tester should provide as much specific information as it’s possible.
Thus, remember to name the exact product, version, component, platform, and operating system in which the bug occurred. Describe the situation in which the bug was revealed, so the reader can understand and visualize it. In order to write an even more complete bug description, you can also check error logs for more details. Such an approach will help to avoid misunderstandings and wasting time asking around for explanations.
4. Make it readable
Although the bug description has to include all the necessary details, no one expects essays. Try to describe the issue in a minimal number of words and focus only on facts, not opinions. Every sentence of the report should be simple, meaningful, clear, and consistent - this will accelerate the defect-fixing process.
Moreover, remember to format your report. Use numeric lists and bullets, as they will make the report easily readable and clear-cut. Remember also to read it a few times before hitting the Submit button to make sure that everything will be obvious for the reader, and that your text will also be bug-free.
5.Indicate severity and priority
The next thing that needs to be done when preparing a defect report is rating its severity and priority. Although all bugs need to be fixed, not all of them are equally important. For instance, defects interrupting the crucial functionalities of the software have to be fixed immediately, unlike the small text or graphical corrections. Each bug should also be categorized, so developers can immediately know the area of expected improvements.
Bugs prioritization and categorization will help to organize work more smoothly. In order to ensure the top efficiency, we highly recommend using dedicated software equipped with a bug scoring system, such as Jira extended with RTM and most popular but also configurable defect categories.
6. Write steps to reproduce
When preparing a defect report, write down step by step what exactly is happening. Avoid using general phrases, such as “I can’t log in”. Describe exactly what happens when the error occurs, and what steps are leading to it. Mind that there might be a few ways to complete one action, so the more specific you will be, the better. Define who, what, where when and how you found the defect, so the developer could understand it and respond to the problem accurately.
7. Include expected results
A good bug description is not only about the problem itself. It should also include information about actual results vs expected results. Writing down what are the intended actions will help to identify the source of the problem and decide on what exactly needs to be fixed.
When writing about the expected result, remember to apply the general and well-known rule - be as specific as possible.
8. Provide documentation
If only it’s possible, provide additional documentation of the detected bug. It can be a screenshot or a video in which the defect is visible. To explain the issue better, you can even attach a few files presenting what happens when the defect occurs. In the picture, you can also highlight the most important remarks.
Such an approach will help the developer to understand the issue better. Of course, you can do it in a bug-reporting program that is equipped in a field in which you can attach additional files.
9. Avoid commanding tone
The last but not least, remember to be empathetic when writing a bug report. Never use harsh words. Mistakes happen and are an integral part of software development. So, don’t blame your colleagues for the defects, even though it’s them who messed up. Such attitude only leads to an unhealthy work atmosphere. It’s not worth it! Instead of giving orders, try to write your report in a tone of request or suggestion. Believe us, this will sound much better.
defects can and do have the following additional data fields:
- Reported by
- Date Reported
- Assigned to
- Status
- Module/Business Area
Large-scale teams use different kinds of defect management software to make this process easier and more efficient.
Some examples include:
- JIRA
- Bugzilla
- TestRail
- Micro Focus ALM
- IBM Rational ClearQuest
Sample Bug/Defect Template with Example
Defect ID | D_AppXYZ_Module1_001 |
Defect Title | Manager Dashboard is not allowing adding newly reports types- history, work completion trends |
Defect Description/Steps to reproduce | 1. Login in as a manager (include manager credentials only if not confidential) 2. Click on the dashboard 3. Click on + icon to add a new report 4. Select History/Work completion report trends report type 5. Click “Add to dashboard button” |
Expected Result | The new report should add and the manager should be able to view it on the dashboard |
Actual Result | An error with the message “No report exists with that name” error message shows |
Evidence/attachment | < Add image or a word doc with multiple images showing sequence of steps or a quick/short video > |
Severity | High |
Priority | Medium |
Module affected | Dashboards and Manager reporting |
Environment | FireFox version 32.4 |
Reported by | Tester XYZ |
Reported on | 03-02-2023 |
Status | New |
Assigned To | Developer ABC |
Comments
Post a Comment