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 |
how do you analyze the result in update and debug mode
1. How will you load the object during run time? 2. How do you close the Task Manager through QTP? 3. How will you handle the situation when object is not captured during record? 4. How QTP support all types of applications (Platforms) 5. What is throw object? 6. Purpose of automation as many points as possible 7. What In-string function will do? 8. In website, protocol has been changed http: to https what you will do? Tell me your Approach? 9. Runtime dynamic settings. 10. Types of exception handling and script for that. 11. On resume next(recovery, do u write the script in notepad, if so, what is the script and how to call it when ever it occurs? ________PLs anyone give me the answers for these questions. Thanks a lot!
How many check points are there in winrunner? what are they?
You declared a constant in a main test..Later you want tried to reinitialize that constant..what will happened? i.e const i=10; -- --- i=20; what will happen?
What is the difference between gui map and gui map files?
How to force wr to learn the sub-items on a menu?
What is the use of gui map and what happens when the gui map file get loaded?
what is mean SRS and URS . differns btwn SRS and URS
plese tell me about vss?
Which function to use to compare the application date with system date?
What are the reasons that winrunner fails to identify gui object?
Where to use the public or private functions in your script?