What is the difference between unit testing and integration
testing?
Answer Posted / biju
Unit Test cases
The responsible people for the Unit Test cases are the
programmers. Are they able to test and find defects for the
product they developed? The Answer would be Yes and No.
Because when the developer created his module obviously he
will think that his work will always be correct and he will
not be able to visualize the defects. Hence there is chance
for the programmer to skip the unit test cases and
execution. But if properly the Unit test cases are written
and executed the defect ration will come down drastically
and the Testers will be able to concentrate on the Black
box.
The Good Unit Test cases are hard to write and time
consuming. The developers have to spend time to write such
effective unit test cases similar to writing Code. Poor
Unit test cases will also prove the efficiency and
understanding of the requirement by the developers. Not all
developers who are good in writing code are good in writing
Test cases.
Writing Unit test cases is a skilled task and which is the
basic testing done before the code is delivered to the
quality. Hence more attention should be given in writing
Unit Test cases.
Integration Testing
A project may have many modules. Not all modules are worked
together. Certain modules are covered in first iteration
and remaining is in forth coming iterations. When one
module is completed it should be integrated with other
modules. If the project is small in size the system are
assembled and the integration will happen at the end.
The integration testing will be performed on multiple
environments also. Some times the client may user different
environment and the solution provider may have a different
one. At that time the integration process is a must.
Usually the integration testing is conducted in parallel
with the Unit Testing.
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
need testing projects where can i find them
How to do the performance testing manually? Does you have a test case for that?
Why should you care about objects and object-oriented testing?
few automation basic questions One question to write a scriot in any language you know.
approx how long a simple website take time just for manual testing including report generation.
plz send the test scenarios and test cases for "user name should contain 4 to 8 chars and they should have only vowels"
what the purpose of requirement phase
Explain the strategy for testing a Java application?
What exactly is quality control? Is it similar to quality assurance?
How do you define a testing policy?
what does 80hz refresh rate indicates?
When we use integration testing for any new system so why we required system testing.
What is difference between V-Model and Agile Model?
What are the challenges you faced in your project (Testing) and in your company?
iam new testing, i want improve writing test cases and bug defect etc? any on give suggestion pls?