what is the difference between unit testing,integration
testing and interface testing?
Answers were Sorted based on User's Feedback
Answer / satish
Unit Testing
------------
In computer programming, unit testing is a procedure used to
validate that individual units of source code are working
properly. A unit is the smallest testable part of an
application.
Integration Testing
-------------------
Integration Testing is the phase of software testing in
which individual software modules are combined and tested as
a group and verify proper communication between the modules.
Interface Testing
-----------------
Interface Testing is not focussed on what the components are
doing but on how they communicate with each other, as
specified in the "System Design".The tests are organized to
check all the interfaces, until all the components have been
built and interfaced to each other producing the whole system.
Is This Answer Correct ? | 47 Yes | 6 No |
Answer / sandeep mukherjee
In computer programming, unit testing is a software
verification and validation method where the programmer
gains confidence that individual units of source code are
fit for use. A unit is the smallest testable part of an
application. In procedural programming a unit may be an
individual program, function, procedure, etc., while in
object-oriented programming, the smallest unit is a class,
which may belong to a base/super class, abstract class or
derived/child class.
Integration testing (sometimes called Integration and
Testing, abbreviated "I&T") is the activity[1] of software
testing in which individual software modules are combined
and tested as a group. It occurs after unit testing and
before system testing.
System testing of software or hardware is testing conducted
on a complete, integrated system to evaluate the system's
compliance with its specified requirements. System testing
falls within the scope of black box testing, and as such,
should require no knowledge of the inner design of the code
or logic.
Interface Testing is not focussed on what the components are
doing but on how they communicate with each other, as
specified in the "System Design".The tests are organized to
check all the interfaces, until all the components have been
built and interfaced to each other producing the whole
system.
Is This Answer Correct ? | 15 Yes | 2 No |
Answer / navneet likhar
The big difference between the two testing methodologies is
that unit testing focuses on the internal logic of one
procedure, and integration testing tries to identify
problems that might happen when one procedure (the parent or
"outer" procedure) calls another procedure (the child or
"inner" procedure). Another important difference is that
integration testing usually follows unit testing. After
ridding two or more procedures of any internal defects, you
can integration-test the procedures by checking for defects
in the outer procedure's call statements and in any data or
error messages the inner procedure returns to the outer
procedure.
Is This Answer Correct ? | 21 Yes | 8 No |
Answer / esha singh
The differences b/w unit tsting and integration testing are given below:
UNIT TESTING:this testing begins at the base of the spiral,and concentrates on each unit of the software as implemented i the source.
INTEGRATION TESTING:this testing progresses by moving outward along the spiral to integration testing where the focus is on design and the construction of software architecture to be tested.
Is This Answer Correct ? | 3 Yes | 4 No |
What is the exact difference between Integration & System testing, give me examples with your project.
how v should get data from third excel sheet?
What do you verify with the sync point for object/window bitmap and what command it generates, explain syntax?
What is the purpose of gui map configuration?
What is the purpose of regexp_label property?
what is the winrunner framework or architecture?
How do you add a property to the checkpoint from the script?
What is the purpose of set_window command?
In the Object properties MSW id,MSWclass will appear..what exactly MSW means..?
How we conduct Regression Testing through WinRunner
What is the purpose of gui spy?
When you create GUI map do you record all the objects of specific objects?