Wht is the Difference between Test Harness and Test Driver
Anybody can explain it..Thanks in advance...

Answer Posted / hi

a test harness or automated test framework is a collection
of software and test data configured to test a program unit
by running it under varying conditions and monitor its
behavior and outputs. It has two main parts: the test
execution engine and the test script repository.
Test harnesses allow for the automation of tests. They can
call functions with supplied parameters and print out and
compare the results to the desired value. The test harness
is a hook to the developed code, which can be tested using
an automation framework.
A test harness should allow specific tests to run (this
helps in optimising), orchestrate a runtime environment, and
provide a capability to analyse results.
The typical objectives of a test harness is to:
- Automate the testing process.
- Execute test suites of test cases.
- Generate associated test reports.
A test harness typically provides the following benefits:
- Increased productivity due to automation of the testing
process.
- Increased probability that regression testing will occur.
- Increased quality of software components and application.


Test Driver is
Test Driver:
We are using in “integration testing” if program is not
ready for doing the testing in that time we are using
drivers and stubs.
These are using as like dummy programs.Upto completing the
development we are using these drivers and stubs.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is known as data-driven testing?

629


test cases on bangles???

2543


What is the difference between baseline and traceability matrix?

726


What is Traditional testing & Object Oriented testing?

1962


What is defect validity ratio?

6772






where can i learn domain knowledge? how cab i gain domain knowledge? what types of Questions can be asked in domain(BFSI)? PLZ REPLY ME

1463


What are the bugs we cannot find in black box?

690


if go through 1 or 2 projects clearly,then i feel comfortable to search the job,please help me

1500


What is test startegy?

779


1) Test summary contains ? 2) Requirement Tracebility means ? 3) Test Effort contains ? 4) Test Planning Productivity ? 5) Metrics should be caluclated ? 6) Interest rate Rsik is a type ? 7) Test analysis and Design process task? 8) secured loan is a part of Liability (or) assest in a balance sheet? 9) Money Market means? 10) a ------ specifies all of the terms of a loan and the obligations borrower ? 11) what is a primary market is ? 12) Quality of Testing measure with ? 13) Company has a share with facevalue 10 rs/- and NAV of 37 after comapny has given Dividend of 35 % then How much NAV become ? ( I don't know what is NAV means, question overall Idea I am giving not 100% perfect ) the potions for these are 1) 33 2) 33.50 3) 37 4) 42 14) one compay has taken 10 million loan from a bank for a Interest rate is 10 % and base amount is 0.4% so how much they had paid monthly Emi ? they provideansews like 1) 100000 2) 114000 3) 140000 4) 104000 Remaing questions I not remember.

2304


Can you explain usability testing?

697


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?

2557


What is a test scenario?

703


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

1254


.In languages testing, what is the fixed part and changing part?

1647