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
What is build interval period?
Do submit teststrategy to customer if yes at what time
How to test the below code and write test case? Prove that this code is wrong? int add(int a ,int b) {return a+b; }
How could we start writing testcases without having the FRS,BRS Docs? My Project has some docs that are related to explain the operations which will be done in the application. It is deployed in UAT server and is a maintainance project. Tell me some technipues or best way to provide the quality to application?
What is the difference between Sleep and wait in winrunner what is integration testing and types of testing present what is system testing what is data driven testing what is functionality testing if requirements are given to you then how do you write the test cases for it Account number = Ok cancel For above given form the valid account number starts from 1 to 1000 so is it necessary to input the 1,2,3 ….998,999,1000 test cases to check the conditions of valid account numbers I,e is it compulsory to write 1000 test cases for the above form
How do u prepare test environment for ur application?
What are the properties of a good requirement?
Hi Please tell me about ERP Project how do describe in interview Please tell me details about this project my id is chiku_69@yahoo.in
What is Snapshot Testing? When we need to do and who will involve in this process and also what is the output document of this testing
As you are working with cmmi level 5 company ,can you tell me what processes you r following as QA engineer?
What is the difference between authentication and authorization in web testing?
What is bug priority?
What are the tasks of test closure activities in software testing?
Differentiate verification and validation?
Is an "A fast database retrieval rate" a testable requirement?