Skip to main content

Difference between Testing and Debugging – Top 9

Difference between Testing and Debugging are very important terms especially for those who are new to Software Testing field.
Exact Distinction between Testing and Debugging

                  Testing
                 Debugging
1. Testing always starts with known conditions, uses predefined methods, and has predictable outcomes too.
1. Debugging starts from possibly un-known initial conditions and its end cannot be predicted, apart from statistically.
2. Testing can and should definitely be planned, designed, and scheduled.
2. The procedures for, and period of, debugging cannot be so constrained.
3. It proves a programmers failure.
3. It is the programmer’s vindication.
4. It is a demonstration of error or apparent correctness.
4. It is always treated as a deductive process.
5. Testing as executed should strive to be predictable, dull, constrained, rigid, and inhuman.
5. Debugging demands intuitive leaps, conjectures, experimentation, and some freedom also.
6. Much of the testing can be done without design knowledge.
6. Debugging is impossible without detailed design knowledge.
7. It can often be done by an outsider.
7. It must be done by an insider.
8. Much of test execution and design can be automated.
8. Automated debugging is still a dream for programmers.
9. Testing purpose is to find bug.
9. Debugging purpose is to find cause of bug.

Conclusion

This is all I know about Difference between Testing and Debugging, but the big difference is that debugging is conducted by a programmer and the programmers fix the errors during debugging phase. Testers never fix the errors, but rather fined them and return to programmer.


Comments

  1. Testing - Since we are humans and we are bound to make mistakes, there is a very good chance that the code you have written may not be perfect.
    Debugging - As I already mentioned above, the verification of the code is done at various levels. Most of which are not done by the developer himself.

    ReplyDelete
  2. can u provide an example of both?

    ReplyDelete
  3. Dubuging: it is process of find the cause of defects and fix it.

    Testing: testing is test the any product or application with intend of finding defects.

    ReplyDelete
  4. Great Article, but I think it will be greater if you includes Tracing.

    ReplyDelete

Post a Comment

Popular posts from this blog

Difference Between Verification And Validation With Example?

Verification and Validation example is also given just below to this table.                Verification               Validation 1. Verification is a static practice of verifying documents, design, code and program. 1. Validation is a dynamic mechanism of validating and testing the actual product. 2. It does not involve executing the code. 2. It always involves executing the code. 3. It is human based checking of documents and files. 3. It is computer based execution of program. 4.  Verification uses methods like inspections, reviews, walkthroughs, and Desk-checking etc. 4.  Validation uses methods like black box (functional)  testing, gray box testing, and white box (structural) testing etc. 5.  Verification  is to check whether the softwar...

Endurance Testing with Example, Meaning and Definition

Endurance Testing is a type of Performance Testing which is usually used to determine how much a system can sustain the continuous expected load. During the period of Endurance Testing memory utilization is always monitored to detect any potential leaks. In short we can say that judging/studying the memory leak of a server under the period of stability is known as Endurance Testing . Due to its judgment and study on memory leak that is the reason why Endurance Testing is also known by the name Soak Testing . As you know in Endurance Testing memory utilization is monitored so it very important for us to know about memory leak means what it is all about. When memory allocated to objects are not being freed by the system/application than definitely the memory leak occurs. Endurance Testing Example – Real Time Below is given the real time example of Endurance Testing and hope after seen these real time example your knowledge on Endurance Testing should definitely b...

Regression Testing with Example and Strategies

Regression Testing is done to ensure that fixed bug does not affect the remaining functionality of the modules and also the functionality of the same module. In short you can say regression testing  is always done to verify that modified code does not break the existing functionality of the application and works within the requirements of the system. Regression Testing Example  For Example there are three Modules in the Project named Admin Module, Personal Information, and Employment Module and suppose bug occurs in the Admin Module like on Admin Module existing User is not able to login with valid login credentials so this is the bug.  Now Testing team sends the above - mentioned Bug to the Development team to fix it and when development team fixes the Bug and hand over to Testing team than testing team checks that fixed bug does not affect the remaining functionality of the other modules (Admin, PI, Employment) and also the functionality of ...