What is the difference between unit testing and integration
testing?
Answers were Sorted based on User's Feedback
Answer / rafi
Unit testing:A unit is smallest entity in a software.Every
unit has to tested separately in order to check whether
it's as per the requirement specifiacation
Integration testing:The tested unit are integrated into one
module and each module is tested separately in order check
whether it's as per the requirement specification.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
Answer / shiva
unit testing:
In this stage white box test engineers will check each& every developed programs&combination of programs,in order to conform weather it is working according to the exportations or not.
Integration testing:
The developers will develop the interfaces in order to integrate the modules.
1)the white box test engineers will check wether the interfaces are working fine or not.
| Is This Answer Correct ? | 0 Yes | 0 No |
WHAT IS THE DIFFERENCE BETWEEN A FUNCTION & ACTIONS IN QTP? WHAT IS THE DIFFERENCE BETWEEN A FUNCTION & PROCEDURE IN QTP? DIFF BETWEEN ACTION AND REUSABLE ACTION?
Can automation testing replace manual testing?
When should testing start in a project? Why?
what is the role of QA manager
What is Web architecture that are followed while doing online project and tell the samples of architecture?
How do you arrive at the estimaton of efforts for a particular function, if you have not worked on that function testing before and do not have any past experience?
What is a show-stopper Bug?
What is traceability matrix? What is recovery scenario? How to pass values into a datatable?
Loop Testing Comes Under 1. White box Testing 2. Block Box Testing 3. Green Box Testing 4. Yellow Box Testing
He has given table attributes- empid,empfirstname,emplastname,MangerID.And he asked write query to display empfirstname and mangername?
can you tell me high priority low severity defect?
find out the odd man out in following options GUI spy, Object Spy, Gui map editor, Inspector.