Defect Management Process in Software Testing (Bug Report Template)

What is Bug?

A bug is the consequence/outcome of a coding fault.

Defect in Software Testing

A Defect in Software Testing is a variation or deviation of the software application from end user’s requirements or original business requirements. A software defect is an error in coding which causes incorrect or unexpected results from a software program which does not meet actual requirements. Testers might come across such defects while executing the test cases.

These two terms have very thin line of differnce, In the Industry both are faults that need to be fixed and so interchangebaly used by some of the Testing teams.

When testers execute the test cases, they might come across such test results which are contradictory to expected results. This variation in test results is referred to as a Software Defect. These defects or variations are referred by different names in different organizations like issues, problems, bugs or incidents.

In this tutorial, you will learn-

Bug Report in Software Testing

A Bug Report in Software Testing is a detailed document about bugs found in the software application. Bug report contains each detail about bugs like description, date when bug was found, name of tester who found it, name of developer who fixed it, etc. Bug report helps to identify similar bugs in future so it can be avoided.

While reporting the bug to developer, your Bug Report should contain the following information

Resources

Download a sample Defect Reporting Template

Consider the following as a Test Manager

Your team found bugs while testing the gtupapers Banking project. After a week the developer responds - In next week the tester responds

This topic will guide you on how to apply the defect management process to the project gtupapers Bank website. You can follow the below steps to manage defects. In the discovery phase, the project teams have to discover as many defects as possible, before the end customer can discover it. A defect is said to be discovered and change to status accepted when it is acknowledged and accepted by the developers

In the above scenario, the testers discovered 84 defects in the website gtupapers. Let’s have a look at the following scenario; your testing team discovered some issues in the gtupapers Bank website. They consider them as defects and reported to the development team, but there is a conflict -

Correct
InCorrect


In such case, a resolution process should be applied to solve the conflict, you take the role as a judge to decide whether the website problem is a defect or not.

Categorization

Defect categorization help the software developers to prioritize their tasks. That means that this kind of priority helps the developers in fixing those defects first that are highly crucial.

1) The website performance is too slow


2) The login function of the website does not work properly


3) The GUI of the website does not display correctly on Mobile devices


4) The website could not remember the user login session


5) Some links doesn’t work


Here are the recommended answers

No. Description Priority Explanation
1 The website performance is too slow High The performance bug can cause huge inconvenience to user.
2 The login function of the website does not work properly Critical Login is one of the main function of the banking website if this feature does not work,  it is serious bugs
3 The GUI of the website does not display correctly on mobile devices Medium The defect affects the user who use Smartphone to view the website.
4 The website could not remember the user login session High This is a serious issue since the user will be able to login but not be able to perform any further transactions
5 Some links doesn’t work Low This is an easy fix for development guys and the user can still access the site without these links

Defect Resolution

Defect Resolution in software testing is a step by step process of fixing the defects. Defect resolution process starts with assigning defects to developers, then developers schedule the defect to be fixed as per priority, then defects are fixed and finally developers send a report of resolution to the test manager. This process helps to fix and track defects easily.

You can follow the following steps to fix the defect.

The management board has right to know the defect status. They must understand the defect management process to support you in this project. Therefore, you must report them the current defect situation to get feedback from them.

Important Defect Metrics

Back the above scenario. The developer and test teams have reviews the defects reported. Here is the result of that discussion

In the above scenario, you can calculate the defection rejection ratio (DRR) is 20/84 = 0.238 (23.8 %).

Another example, supposed the gtupapers Bank website has total 64 defects, but your testing team only detect 44 defects i.e. they missed 20 defects. Therefore, you can calculate the defect leakage ratio (DLR) is 20/64 = 0.312 (31.2 %).

Conclusion, the quality of test execution is evaluated via following two parameters

YOU MIGHT LIKE: