what is test harness?

Answers were Sorted based on User's Feedback



what is test harness?..

Answer / amol manjrekar

Test Harness is a program or a test tool used to execute a
test.

Is This Answer Correct ?    0 Yes 0 No

what is test harness?..

Answer / rudraneel

Test Harness is an environment of Stubs & Drivers needed to
execute a test

Is This Answer Correct ?    0 Yes 0 No

what is test harness?..

Answer / glamorous

Test harness =Test Environment+Test Bed

Is This Answer Correct ?    0 Yes 0 No

what is test harness?..

Answer / 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

More Manual Testing Interview Questions

What is Testsummary?

4 Answers  


Difference b/w srs and functional specifications? what are the approaches u'll follow while integrating the modules

2 Answers   L&T, Semantic Space,


Im a 2005 graduate i did testing course from a reputeted institute but was nt able to get a job as a fresher so i got an fack certificate in tat i included 2 prjs based on web site testin cud ne one tell me wat will be questions cud be fired for me as a 2yrs exp in manual testing .. ill be great full of all urs

6 Answers  


What is Smoke Testing

5 Answers  


HI FRNDS, I HAVE 2.5 years OF exp In Manual Testing,Plz let me know if thr r any oppurtunities in any company in Bangalore ID:dsnithi@gmail.com Thanks in Advance

0 Answers  






what is the difference between compatibilty testing and configuration testing?

6 Answers  


What is performance Testing and Regression Testing?

5 Answers   Fidelity,


i have gap of 3 years need some company to take fake exp, can any one help in this group to get fake exp from a hyderabad company?

2 Answers  


how releases will happen in your company?

2 Answers   NIIT,


why u can choose manual tasting

4 Answers   HP, SourceTrace Systems,


i have doubt suppose iam purly working in manual, when i will work on sql and performence testing? pls any one clarify doubt?

1 Answers  


If I want to check compability of software in a MAC OS then which steps shold I follow?

0 Answers  


Categories