Considerations in Bug Reporting
Join the DZone community and get the full member experience.Join For Free
it is not possible to escape from bugs in software world. no matter what type of application, bugs may occur at any time and this is a very natural process. but feedback of the bugs found to the application developers may be unnatural. for example, there is an application x, do you think that it is an easier way to convey in a more scientific way rather than thinking it is the worst thing in the world that happen to them when those people who test this application (whether the end user or the person responsible for tests) find a bug? here is an example includes at least 3 items that should be in bug feedback;
- the steps that you need to repeat this bug, just as “firstly i clicked this and then chose this and then boom”…
- details of the context where the bug occurred. for example, the version of operating system or version of java…
- user ideas about the occurrence of bug.
communication with people who develop the application during the bug reporting should not be forgotten. so bug reporting results in starting an interaction. for this reason, it should not be forgotten that all kinds of valuable feedback given to the developers plays a big role in the development of software.
details, details, details
similarly, after resolving bugs, it is extremely beneficial to give as much detail as possible when closing the application. these details should describe how those bugs occurred and how they have been resolved in the future.
root cause analysis
the main tedious point is appearance of a bug in later times after it is found and resolved. such a situation refers to we could not find the root cause. facing with again with a bug that its root cause could not be found before is only a matter of time. we should try to figure out the main source of problems in order to find root cause by addressing “five whys” questions with lean approach.
toyota s practical problem-solving process
according to the lean approach, you cannot find a complete solution if you do not find priorly the root cause of a bug. so, asking “five whys” questions for the bugs encountered takes you to different and hit points that you do not expect.
have you ever encountered a situation that any screen or function does not work suddenly? i think most people heard some complaints such “but this screen was running yesterday”. the main reason of the occurrence of this kind of defects is the lack of a good internal testing process. corruption of different points is a common problem that developers face while they are trying to fix another point. the best way of debugging such mistakes earlier is making regression tests.
you can record previously completed tests in regression test and re-run them automatically at every turn. at this point selenium tool can be used. it is not easy to make tests of an application in an up-to-date way and maintain it with selenium. however, would it be better if customers find such defects? if you try to retrace root causes by finding defects as early as possible, quality of the software will improve and prices will be reduced automatically. the best way to reduce costs in software projects is to focus on the quality.
Opinions expressed by DZone contributors are their own.