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
What is defect validity ratio?
please anyone let me know the -ve testing of Excel sheet?
Describe some staff conflicts you have handled.
What is an inspection in software testing?
What were the major challenges u faced while testing
How can you prepare the resume for testing? Can you send me the answer for this questions?
whats main working for tester. and developer, and prject manager.
What kind of testing to be done in client server application and web application? Explain
Zenq interview questions for manual testing
How could we start writing testcases without having the FRS,BRS Docs? My Project has some docs that are related to explain the operations which will be done in the application. It is deployed in UAT server and is a maintainance project. Tell me some technipues or best way to provide the quality to application?
If you're given a program that will average student grades, what kinds of inputs would you use?
WHAT IS PROTOCAL TESTING..EXPLAIN? L2, L3 PROTOCALS TESTING MEANS WHAT?EXPLAIN BRIEFLY
Does anyone have any good examples of some acceptance criteria for non-functional requirements?
What are the different types of software testing?
What is formal testing?