1)what is the basic diff. between unit testing and component
testing
2)how do you implement framework in ur project through
automation

Answer Posted / iqubal

difference betw. unit and compo. testing ....

Unit - The smallest compilable component. A unit typically
is the
work of one programmer (At least in principle). As defined,
it does
not include any called sub-components (for procedural
languages) or
communicating components in general.

Unit testing: in unit testing called components (or
communicating
components) are replaced with stubs, simulators, or trusted
components. Calling components are replaced with drivers or
trusted
super-components. The unit is tested in isolation.

Component: a unit is a component. The integration of one or more
components is a component.

Note: The reason for "one or more" as contrasted to "Two or
more" is to allow for components that call themselves
recursively.

Component testing: the same as unit testing except that all
stubs
and simulators are replaced with the real thing.

Two components (actually one or more) are said to be
integrated when:
a. They have been compiled, linked, and loaded together.
b. They have successfully passed the integration tests at the
interface between them.

Thus, components A and B are integrated to create a new, larger,
component (A,B). Note that this does not conflict with the
idea of
incremental integration -- it just means that A is a big
component
and B, the component added, is a small one.

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the types of Bug?

1056


According to RBI rule how much money can be transferred through online banking at one time...?

2385


How the application is launched to the production environment?

1188


What is system level testing?

698


What r the documents required for performance testing

1805






What is white box testing, and what are the various techniques?

676


Hello Varun, Kindly send me the material as well as sample question papers as i am interested in doing the certification. Kindly help me out in this regard. Here is my mail ID: bjyothitesting@gmail.com

1738


Hi, what do you mean by internal auditing? what are the things they do in internal auditing?what they review? THNX in Advance

1653


What are the differences between web applications and client and server applications?

679


Have you prepared traceability matrix and how to prepare it?

1589


What is virtual creation tool?

1545


What is your approach when requirements change continuously?

706


What makes a good test engineer?

718


MS Paint

1637


write testcases for open dialogbox

1532