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 |
Hi, Can any body tell me that do anybody need any sort of software background to learn testing
How do you test cookies?
What is the purpose of QTP in Manual Testing?
What is test startegy?
How to measure testing Productivity ?
How to test Reports manually?
how to prepare Test Environment for an application ?
how to do cookies testing in realtime through manual testing? pls give some realtime example?
what is remedy testing, explain that and how can use that
What is Test Responsibility Matrix?
7 Answers Landscape Technologies, Wipro,
What is the difference between the company site and the yahoo site?
1.what si the out come of testing.?