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

Hi Friends, I wish to start my career in manual Testing as I believe I am ready to face Interviews.I have good domain knowledge in banking(investment and retail) and insurance.To be in the competition I have added three years of testing experience to my CV apart from my domain experience. Can someone please advice some real time tips which can help in facing the interview. Thanks in advance

1638


There is an opening in our organization Sierra Atlantic, Hyderabad. All Manual test engineers with 2-3 years of experience can forward your resumes to mah_cs82@yahoo.com before May 01, 2008. (Only manual testers) with a covering letter, current CTC and Expected CTC.

1666


Explain compatibility testing with an example.

662


How do you Prepare a Defect Managemnt Policy

1638


explain ur testing project? how can u nexplain . what should we explain ? i have not worked on any project?

1780






what is the challenging position faced in the testing not in point of management point of view it must be in the point of while testing the application?

4042


hi this is chik here iam showing my current project ERP and am prepair in hr model please tell me details about it and what all function test in hr model and give me some test caserelated to this module.Please tell me am faceing lots of problem in interview am not able to explain in interview please help me out my id is chiku_69@yahoo.in

1537


What is application programming interface (api)?

661


What are the interview question on insurance domain in manual testing

19232


How do test documents in a project span across the software development lifecycle?

1158


A form has four mandatory fields to be entered before you submit. How many numbers of test cases are required to verify this? And what are they?

656


what should be tested when credit card is used as payment option in ecommerce project?can anyone tell me in detail what to test n how to test when credit card is involved in web application?

1542


What is the procedure of manual testing?

647


ive been looking for a junior tester job for quite some time now, but most company keep requisting for experienced staffs, but if i dont start from somewhere how do i get the experience

1495


What is Test Design?

1755