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


Please Help Members By Posting Answers For Below Questions

Can any one suggest how to write the bug reports effectively by optimizing what we want to describe?

1538


what is the testing approach for windows Explorer(Not IE Explorer)

2243


Hi I am searching job please send some details abuot ERP project and real time test plan,traceability report,test case if any relate to erp project Please help me out to get a job in testing.my email address is chiku_69@yahoo.in Thank u

2380


Negative test cases for phone camera

256


What types of testing is specifically important for web testing?

664






What is the Difference between Network testing and Web Testing?

1722


Can some one help me writing a manual test case for email applications like yahoo i need for www.everonn.com

1525


Hi ALl, Can you please list out Q & A for Test Lead,which Interviewer may ask in interview for Test Lead position

1511


Difference between Re-testing and Regression testing?

692


What is the procedure of manual testing?

633


I know functional test cases are derived from frs and system design specs. But are test cases for performance, database, boundary, relational integrity and other types of tests other than functional tests created from frs and system design specs as well? When are these test cases created? Are they in the same test plans alongside functional test cases or is their a different test plan that includes these test cases?

1670


What are differences in testing a client server and a web application?

1504


can we do database testing in manual testing? then how we write the test case?

5928


Explain stub in testing point of view?

702


How should validation activities be handled?

686