what is the difference between unit testing,integration
testing and interface testing?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find the local host name using winrunner ?

1907


This Is Sekar, Can Any One Of You Help Me? Question: How To Draw Charts In Excel Sheet Using Winrunner Scripts. Thanks, Sekar.

1935


Explain the purpose of gui map configuration?

823


plz give me code or steps for pop up exception. or can u tell me how to pause test run for defining handler function?

2340


How do you clear a gui map files?

862


What is the extension of gui map file?

984


What do you verify with the sync point for object/window bitmap and what command it generates, explain syntax?

809


How do you modify the logical name or the physical description of the objects in gui map?

870


How can withwin runner to make single scripts which supports multiple languages?

843


what is mean by release in quality center and who will perfom?

2696


What is the purpose of a gui spy?

916


What happens when the gui map file get loaded?

930


What is parameterizing?

834


What is the purpose of set_window command?

927


Explain the synchronization points?

793