Wht is the Difference between Test Harness and Test Driver
Anybody can explain it..Thanks in advance...
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / litan
test harness means ready to execute test case.
test harness=test bed(test environment)+ rivewed test cases
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sri
Test Harness and Test Driver is same.
Test Harness is A program or a test tool used to execute a
tests.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / s. rajarathnam
Test Harness:
To generate Test Data by combination, for to test the
Application under regression testing. For Ex if there are 5
Fields in the Customer Enquiry First Name, Last Name,
Address1, Address2 and city, here if you have only 5 set of
original data, with the help of Test Harness Technique we
can generate upto 5X5X5X5X5 = 3125 Test Data can be
generated in that 5 Test data are positive Testdata and
3120 Testdata are negative testdata
Test Driver:
Test Driver is one of the Frame Work For testing the
Application in Automation. Test Driver Consist of 4
Component 1. Spread Sheet, 2. Script Folder, 3. Object
Repository Folder, 4. Main Script.
The Generic Script file should be saved in the Script
Folder and the Appropriate Object Repository File should be
saved in the Object Repository Folder.
In Spread Sheet, it should contains sino, Scenario Name,
Script Path, Object Repository Path, Flag.
in the Script Path Column we have to enter the Correct Path
of the Script and in the Object Repository Path Column we
have to enter the correct path of the object repository.
Flag Column contains the Yes or No (i.e) to execute or not
execute the script.
In the Main Script we are going to import the Spread Sheet
and we are going to get the value of the Flag. if the flag
value is "Yes" then we load the object repository file in
the object Repository and execute the script File. If the
Flag Value is No Control will navigate into the next line.
If there are 20 scenarios then control will to all the 20
lines and execute the script depending upon the flag value.
S. Rajarathnam
Senior Test Associate
CS Software Solutions inc Pvt Ltd
04428191336
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / amit
Both are different.
Test Harness - It is nothing but the test bed where testing
should be performed.
Driver - These are calling function used during top down
approach in integration testing.
| Is This Answer Correct ? | 0 Yes | 2 No |
How to write a Scenario and test cases for ATM Machine or Lift Operator/Escalator?
8 Answers Aryavrat Infotech, Microsoft, TCS,
What is mutation testing and when can it be done?
hi this is satish can some one help me out by sending the maxium notes on client sesrver ,web server and company architechture project hirearchy and company hirearchy i will happy to recive the answers as early as possible
In Testing why We need to Write Testcases compalsarly.
how many days did u study ur business req specifications for a one year project? how many days did u write test cases for a one year project? how often do u get builds in ur company? plz answer , brahma412@yahoo.co.in
What is the purpose of a test completion criterion? What is the purpose of a test completion criterion? a) to know when a specific test has finished its execution b) to ensure that the test case specification is complete c) to set the criteria used in generating test inputs d) to determine when to stop testing
How to do Data base testing manually?
which knowledge is must for tester
What is Exit Criteria and what should be covered in it?
2 Answers Power Designs, Zensar,
Can you explain v model in manual testing?
What is the difference between a standalone application, client-server application and web application?
Suppose,u have written 10 test cases for an application,but ur developer is not satisfied wht u wrote,then how will u justify him that ur test cases are correct?