What is the Difference between Testing and Debugging
4
1
Answer Now
Comment
Report
6
Answers
Dear Friend,
**Testing activity** is carried down by a team of testers, in order to find the defect in the software. Test engineers run their tests on the piece of software and if they encounter any defect (i.e. actual results don't match expected results), they report it to the development team. Along with the nature of defect, testers also have to report at what point the defect occurred and what happened due the occurrence of that defect. All this information will be used by development team to DEBUG the defect.
**Debugging** is the activity which is carried out by the development team (or developer), after getting the test report from the testing team about defect(s) (you may note defects can also be reports by the client). The developer then tries to find the cause of the defect, in this quest he may need to go through lines of code and find which part of code in causing that defect. After finding out the bug, he tries to modify that portion of code and then he rechecks if the defect has been finally removed. After fixing the bug, developers send the software back to testers.
Debugging is the solution of the defects identified by in testing activity.
Important Note โ Preparing for IT?
CAKART provides Indias top faculty each subject video classes and lectures โ online & in Pen Drive/ DVD โ at very cost effective rates. Get video classes from CAKART.in. Quality is much better than local tuition, so results are much better.
Watch Sample Video Now by clicking on the link(s) below โ
For any questions Request A Call Back
Testing activity is carried down by a team of testers, in order to find the defect in the software. Test engineers run their tests on the piece of software and if they encounter any defect (i.e. actual results don't match expected results), they report it to the development team. Along with the nature of defect, testers also have to report at what point the defect occurred and what happened due the occurrence of that defect. All this information will be used by development team to DEBUG the defect.
Debugging is an attempt to fix known and unknown issues by methodically going over the code. When you're debugging you're usually not focused on the code as a whole, and you're almost always working in the backend, in the actual code.
Testing is an attempt to create an issue through various ways of using the code that can then be debugged. It's almost always done in userspace, where you're running the code as an end user would run it, and trying to make it break.
Thanks
What is the Difference between Testing and Debugging
1)Testing is meant to find defects in the code, or from a different angle, to prove to a suitable level (it can never be 100%) that the program does what it is supposed to do. It can be manual or automated, and it has many different kinds, like unit, integration, system / acceptance, stress, load, soak etc. testing.
Debugging is the process of finding and removing a specific bug from the program. It is always a manual, one-off process, as all bugs are different.
2) Debugging is a manual step by step process that is involved, unstructured and unreliable. By testing through debugging you create scenarios that are not repeatable therefore useless for regression testing..
3) Debugging is an attempt to fix known and unknown issues by methodically going over the code. When you're debugging you're usually not focused on the code as a whole, and you're almost always working in the backend, in the actual code.
Testing is an attempt to create an issue through various ways of using the code that can then be debugged. It's almost always done in userspace, where you're running the code as an end user would run it, and trying to make it break.
For large software projects, testing can be split into several phases in which each phase has a distinct goal. For smaller projects, testing and debugging are sometimes performed concurrently.
By and large, testing is meant to locate defects in a software application. It is aimed at proving that the software achieves its intended functionality to a certain level, which is generally set lower than 100 percent functionality since that is unusually difficult to achieve. Testing may be performed manually, but for big projects, it is not uncommon to automate the process.
Debugging is meant to locate and remove bugs from the software. It is usually manual and performed once for every bug because one bug is different from another. A bug in most cases is the difference between what a software application actually does and what it is intended to do.
Bugs can be logical or syntactical. Specialized programs that locate these bugs are called debuggers, and most programming environments come with a built-in debugger.
What is the Difference between Testing and Debugging
Often, in interviews for software testing, candidates are asked to explain the difference between Software Testing and Debugging. For a layman, they may seem to be the same but they are as different as chalk and cheese.
Testing activity is carried down by a team of testers, in order to find the defect in the software. Test engineers run their tests on the piece of software and if they encounter any defect (i.e. actual results don't match expected results), they report it to the development team. Along with the nature of defect, testers also have to report at what point the defect occurred and what happened due the occurrence of that defect. All this information will be used by development team to DEBUG the defect.
Debugging is the activity which is carried out by the development team (or developer), after getting the test report from the testing team about defect(s) (you may note defects can also be reports by the client). The developer then tries to find the cause of the defect, in this quest he may need to go through lines of code and find which part of code in causing that defect. After finding out the bug, he tries to modify that portion of code and then he rechecks if the defect has been finally removed. After fixing the bug, developers send the software back to testers.
Hope now you are clear on how debugging is different from testing.