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

Explain data parameterization in winrunner?

601


What is the difference between writing a function and writing a script?

762


Can anybody Explain me about the liasing with the developers,and a tester can make a test plan well?plz explain me as soon as possible ,thanx in advance.

1631


Hiiiiiiiii This is lavanya.....At present i m working as a MATLAB developer at CMC(A tata enterprise)from about1 year .now i want to move to testing field as a fresher?Is this possible...can anyone give me a suggestion regarding d testing field.....

1806


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

656






soft key for virtual object wizard ?

1908


Explain the purpose of loading winrunner add-ins?

645


How to get the resolution settings?

599


What happens when the gui map file get loaded?

672


i would like to know the steps to write tsl exception and object exception with a simple example

1689


How do you execute your tests from windows run command?

1453


What is the purpose of different record methods?

664


What is test parameter

1600


What is the purpose of set_window command?

719


I want to do smoke test in my application but i have learnt the application before recording but im getting an error class name not found while running the script.I want to check each links and each text in my application. Can anybody answer my quesion plz.If it is possible i want test script for Yahoo login form with "New User" Login.

1643