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
1. Give me an example of something you tried at work but did not work out so you had to go at things another way. can somebody give a real time example
In Quality Center, If we can reuse a non reusable test script as template test, then what is the need of defining reusable test scripts? What additional functionality does Reusable test scripts add when compared to non reusable test scripts?
What is the difference between baseline and traceability matrix?
How to write test cases for nevigating menus? Ex. Course -Topics -Subtopics
What are similarities of Agile and Scrum?
How much the bug is affecting the functionality of the application?
What are the main key components in web applications and client and server applications? And explain the differences between them?
can anybody tell me what is release process of company? release note?
whats the reason to display the password(not in encrypted form) in the script in load runner but not in QTP?
What is validation in software testing?
How can write testcases on a code under development pls give asnwer
What is formal testing?
Anyone tell me the test cases of Shopping Favorite
What is Pre UAT and UAT is there any difference ?
What will be the QA roles and responsibilities in Health care stream like BCBS,can someone please explain me any example project regarding health care services in web-based application?