What is Bug/Defect?
Simple Wikipedia definition of Bug is: “A computer bug is an error, flaw, mistake, failure, or fault in
a computer program that prevents it from working correctly or produces an
incorrect result. Bugs arise from mistakes and errors, made by people, in
either a program’s source code or its design.”
Other definitions can be:
An unwanted and unintended property of a program or piece of hardware, especially one that causes it to malfunction.
An unwanted and unintended property of a program or piece of hardware, especially one that causes it to malfunction.
or
A fault in a program, which causes the program to perform in an unintended or unanticipated manner.
Lastly the general definition of bug is: “failure to conform to specifications”.
If you want to detect and resolve the
defect in early development stage, defect tracking and software development
phases should start simultaneously.
We will discuss more on Writing effective
bug report in another article. Let’s concentrate here on bug/defect life cycle.
Life cycle of Bug:
1) Log new defect
When tester logs any new bug the mandatory fields are:
Build version, Submit On, Product, Module, Severity, Synopsis and Description to Reproduce
When tester logs any new bug the mandatory fields are:
Build version, Submit On, Product, Module, Severity, Synopsis and Description to Reproduce
In above list you can add some optional fields if you are using manual Bug submission
template:
These Optional Fields are: Customer name, Browser, Operating system, File Attachments or screenshots.
These Optional Fields are: Customer name, Browser, Operating system, File Attachments or screenshots.
The following fields remain either specified or blank:
If you have authority to add bug Status, Priority and ‘Assigned to’ fields them you can specify these fields. Otherwise Test manager will set status, Bug priority and assign the bug to respective module owner.
If you have authority to add bug Status, Priority and ‘Assigned to’ fields them you can specify these fields. Otherwise Test manager will set status, Bug priority and assign the bug to respective module owner.
[Click on the image to view full size]
Ref: Bugzilla bug life cycle
The figure is quite complicated but when
you consider the significant steps in bug life cycle you will get quick idea of
bug life.
When bug gets assigned to developer and
can start working on it. Developer can set bug status as won’t fix, Couldn’t
reproduce, Need more information or ‘Fixed’.
If the bug status set by developer is
either ‘Need more info’ or Fixed then QA responds with specific action. If bug
is fixed then QA verifies the bug and can set the bug status as verified closed
or Reopen.
Bug status description:
These are various stages of bug life cycle. The status caption may vary depending on the bug tracking system you are using.
These are various stages of bug life cycle. The status caption may vary depending on the bug tracking system you are using.
1) New: When QA files new bug.
2) Deferred: If the bug is not related to
current build or cannot be fixed in this release or bug is not important to fix
immediately then the project manager can set the bug status as deferred.
3) Assigned: ‘Assigned to’ field is set by
project lead or manager and assigns bug to developer.
4) Resolved/Fixed: When developer makes necessary code changes and verifies the
changes then he/she can make bug status as ‘Fixed’ and the bug is passed to
testing team.
5) Could not reproduce: If developer is not able to reproduce the bug by the steps given
in bug report by QA then developer can mark the bug as ‘CNR’. QA needs action
to check if bug is reproduced and can assign to developer with detailed
reproducing steps.
6) Need more information: If developer is not clear about the bug reproduce steps provided
by QA to reproduce the bug, then he/she can mark it as “Need more information’.
In this case QA needs to add detailed reproducing steps and assign bug back to
dev for fix.
7) Reopen: If QA is not satisfy with the
fix and if bug is still reproducible even after fix then QA can mark it as
‘Reopen’ so that developer can take appropriate action.
8) Closed: If bug is verified by the QA
team and if the fix is ok and problem is solved then QA can mark bug as
‘Closed’.
9) Rejected/Invalid: Some times developer or team lead can mark the bug as Rejected
or invalid if the system is working according to specifications and bug is just
due to some misinterpretation.
Thanks for taking time to share this post.It is really useful.Continue sharing more like this.
ReplyDeleteRegards,
Software Testing Training in Bangalore
Nice post. Thanks for sharing such a worthy information.
ReplyDeleteIELTS Coaching in JP Nagar Bangalore
IELTS in JP Nagar
IELTS Classes in JP Nagar
IELTS Training Institute near me
Spoken English Classes in JP Nagar
English Speaking Course in JP Nagar Bangalore
Spoken English Classes in Bangalore JP Nagar
Thanks for sharing this valuable information.Its more useful to us.its very interesting to know the blog with clear vision.
ReplyDeleteBest Web Development Training Institute in Bangalore
Web Design And Development Courses in Bangalore
Best Web Designing Training Institute in Bangalore
php institute in bangalore
best php training in bangalore
php training center in bangalore
Gathered some useful information from your content. Keep updating more blog.
ReplyDeleteselenium Classes in chennai
selenium certification in chennai
Selenium Training in Chennai
Hadoop Training in Chennai
Big Data Training in Chennai
Advanced java training in chennai
J2EE Training in Chennai
JAVA Training Chennai
JAVA Training in Chennai
I'm gathering a lot of information from here. Keep us updated with more such posts.
ReplyDeleteUnix Training in Chennai
Unix Shell Scripting Training in Chennai
JavaScript Training in Chennai
JavaScript Course in Chennai
C C++ Training in Chennai
C Training in Chennai
Unix Training in Tambaram
Unix Training in Adyar
Hey Nice Blog!! Thanks For Sharing!!!Wonderful blog & good post.Its really helpful for me, waiting for a more new post. Keep Blogging!
ReplyDeleteSEO company in coimbatore
SEO Service in Coimbatore
web design company in coimbatore
I have read your blog and I gathered some needful information from your blog. Keep update your blog. Awaiting for your next update. Thanks
ReplyDeleteDedicatedHosting4u.com
Thanks for sharing such a great information..Its really nice and informative... software testing training
ReplyDeleteHey Nice Blog!! Thanks For Sharing!!!Wonderful blog & good post.Its really helpful for me, waiting for a more new post. Keep Blogging!
ReplyDeletejava training in chennai
java training in omr
aws training in chennai
aws training in omr
python training in chennai
python training in omr
selenium training in chennai
selenium training in omr
Thanks for your informative article,Your post helped me to understand the future and career prospects & Keep on updating your blog with such awesome article.
ReplyDeletehardware and networking training in chennai
hardware and networking training in tambaram
xamarin training in chennai
xamarin training in tambaram
ios training in chennai
ios training in tambaram
iot training in chennai
iot training in tambaram
Thanks for sharing such a great information..Its really nice and informative.
ReplyDeletehardware and networking training in chennai
hardware and networking training in annanagar
xamarin training in chennai
xamarin training in annanagar
ios training in chennai
ios training in annanagar
iot training in chennai
iot training in annanagar
Wow! Such an amazing and helpful post this is. I really really love it. I hope that you continue to do your work like this in the future also.
ReplyDeleteBig Data Hadoop Online Training
Hadoop Training Institute in Bangalore
Big Data Certification Course in Bangalore