Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is test harness?

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


Please Help Members By Posting Answers For Below Questions

Hi, I want "Intergraph" placement papers for experienced people which was conducted recently in Hyderabad. Thanks, Purnima.

2381


Write 10 test scenarios to test remember me checkbox present in login window

1524


What is the difference between system testing and integration testing?

1107


what is Test management fundamental?

2221


How to test the Online Games?? Suggest tricks. I have experience in server-client application testing.

1882


What is function points??????

1998


Explain the manual testing process?

1179


HI, I WANT TO DO A ISTQB FOUNDATION CERTIFICATION FROM HYDERABAD WHICH INSTITUTE WOULD BE GOOD FOR ME,WHERE I CAN TAKE SOME TRAINING SESSIONS FOR CLEARING THIS EXAMINATION.

2347


In Manual testing how to test proxy servers? can u please explain with example?

2011


Is an "A fast database retrieval rate" a testable requirement?

2058


Define Stability, Scalability and reliability with example ?

3151


What is the difference between a standalone application, client-server application and web application?

1244


In manual testing, what are stubs and drivers?

1064


functional testing and usability testing test cases for transfer funds...

1717


On what basis you are fixing up the time for project completion?

1219