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 |
Difference between winrunner and test director?
Explain the purpose of gui map configuration?
How does WinRunner recognize objects on the application?
How can withwin runner to make single scripts which supports multiple languages?
How can you do debugging in winrunner?
who prepare the RTM?
How do you do digital signature test in winrunner?
how u can do parameterization in winrunner? tell me the sample code.
What are the advantages of Global gui over gui map per test mode?
How do you find an object in an gui map.
What is context sensitive Recording?
How do you find out which is the start up file in winrunner?