Answer Posted / nams
“A test harness simply is to create the correct framework and use it (and all of its constituent elements) to control the entire activity as to get the most of the situation- whether automation or integration.
it is time to explore what Test harness means in the context of “Integration Testing”.
Integration testing is to put together two or modules (or units) of code that interact with each other and to check whether or not the combined behavior is as expected or not.
Ideally, Integration testing of two modules should and would be possible to carry out when both of them are 100% ready, unit tested and good to go.
However, we do not live in a perfect world- which means, one or more modules/units of code that are to be the constituent elements of the integration test might not be available. To solve this situation we have stubs and drivers.
Stud is usually a piece of code that is limited in its function and will substitute or proxy for the actual module of code that needs to take its place.
Example: To further explain this, let me use a scenario
If there is a unit A and Unit B that are to be integrated. Also, that Unit A sends data to Unit B or in other words, Unit A calls Unit B.
------------
Unit A if 100% available and unit B is not, then the developer can write a piece of code that is limited in its capability ( what this means is the Unit B if it has 10 features, only 2 or 3 that are important for integration with A) will be developed and is used for integration. This is called a STUB.
The integration would now be: Unit A->Stub (substituting for B)
On the other hand, if Unit A is 0% available and Unit B is 100% available, the simulation or proxy has to be Unit A here. Therefore when a calling function is replaced by auxiliary code, then it is called the DRIVER.
The integration in this case would be: DRIVER (substituting for A) -> Unit B
The entire framework: The process of planning, creating and usage of stubs and/or drivers to carry out the integration testing is called the Test Harness.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is Difference between Test Strategy and Test Methodology?
name poneno dept sun 9894433467 computer This is the xls sheet a programs written to transfer this data into database write test cases and test scenario?
What are all the netwoking tools, hardware tools and software tools required for testing a web-based n client server applicatopn?
What are the various techniques in black box testing?
1)What are the QA procedures followed 2) Write test cases on a weatherreport.com web page that has only two dropdown and a submit button, Fist drop down is a countries and second is metros in the selcted countries.When proper selection si doen and submitted it shows weather report of that metro.? 3)Write test cases on Mobile Alarm Module? 4)Write test cases on Company Water Bottle?
Risk Analysis a) 2 step, b)3 step, c) 4 step, d) 6 step
When will the testing starts?
what is the main field of bugzilla which we fill to report bug to any developers???give some brief description??
iam new testing, i want improve writing test cases and bug defect etc? any on give suggestion pls?
Information about Automated Software Installer
can any one explain me briefly erp pharma project including all modules,like how to tell this project in interview in terms of s/w testing
How we allocate the priority(Blocker, Critical, etc.,) in Testing?
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
How to explain a banking project in interview ? like project discription is Client Online Banking Application provides access to information relating to Banking Online Services provided by Axis to View daily customer transactions, Current and Previous customer statements, Transfer funds from Chequing and Savings accounts ................ From interview point of view can any one explain this project in laymans language
what is the technical challange you faced in your module.please ans me the question i just want example can me any example please very important