What is Test harness?

Answers were Sorted based on User's Feedback



What is Test harness?..

Answer / a.sameer

When you are writing test cases , whether they are unit
tests, tests for test-driven development, regression tests,
or any other kind, there are some functions you will find
yourself doing each time. These include the basics of an
application, a mechanism for launching tests, and a way to
report results. You could write these functions each time
you start testing a new feature or you could write them once
and utilize them every time. A test harness, at its most
simple, is just that—a system to handle the elements you’ll
repeat each time you write a test.

The typical objectives of a test harness are to:



The test harness should incluse the following capabilities:-
* A standard way to specify setup (i.e., creating an
artificial runtime environment) and cleanupAutomate the
testing process.
* A method for selecting individual tests to run, or all
tests.
* A means of analyzing output for expected (or
unexpected) results.
* A standardized form of failure reporting.

Is This Answer Correct ?    6 Yes 0 No

What is Test harness?..

Answer / indhyd

A Test harness is collection of software and testdata
which is used to test the application with different test
data with pass and fail as results.

Is This Answer Correct ?    1 Yes 0 No

What is Test harness?..

Answer / govind sain

“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. 
There are two contexts to where Test harness is used:
Automation testing
Integration Testing:- stub and driver

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Manual Testing Interview Questions

why RUPis important or what are all the advances in RUP?

1 Answers  


 You are New to the city,You don't have any Gadgets,you have   only address on paper piece.You are almost nearer to your destination, You have asked one man and he replied saying "Go straight and take Right(Dead End)".After moving some distance you have asked another person and he replied saying "Go straight and take Left (Dead End).And finally question here is As a tester which path you can choose and why? 

5 Answers   Bally Technologies, SSS,


what is entry criteria for intigration testing,,? what is entry criteria for system testing? what is exit criteria for intigration testing & system testing??? plz give me proper examples .... thanks & regards svsekhar2003@gmail.com

2 Answers  


what is major challenges in Real time system testing? Explain the way of Testing for Real-Time Systems.

1 Answers   Crea,


Write all combinations of test cases for calculater on + symbel

0 Answers  






Currently iam working in testing line, iam trying in other company in the testing line itself, but my friends are telling without any reference it is unable to get a job in a reputated company, is it true?

3 Answers   Satyam,


Hi Everybody could you please send me the ISTQB Material to my mail id sravanthireddyr@gmail.com Thanking you in advance

1 Answers   QA,


while writing the test cases, how can we know whether we wrote all the test cases or not.

3 Answers   HCL,


What is the role of a bug tracking system?

3 Answers  


1. What is buddy Testing ? 2. what is Database testing ?

1 Answers   TCS,


What are the different test levels

6 Answers   IBM, Riphah International University,


what is difference b/w Quality assurance & Quality control

2 Answers  


Categories