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

In your company,does a different tester writes test cases & a different one executes them or a particular tester writes a set of test cases & executes them too?

2 Answers  


What is Benchmark Testing

4 Answers  


Wht is Chache or Chache Memory, we test during web based testing...Actually what is it,Actually where it comes.. Can Anybody explain it in detail.....Thanks in advance..

3 Answers   Siemens,


WHAT is Spring in term of Agile model?

2 Answers   HCL,


What is the difference between bug and defect???

17 Answers   Change Control, Tomax,






How you manage your test case (already written )when requirments changes?

3 Answers   TCS,


Is there any group of software tester in India so as everybody can join them?

2 Answers  


Hi Frds., i am Nithi here.here in my company i am working in manual testing ie. application testing only front end not back end like i will enter datas and check whether the record gets updated r not. what kind of testig is this? and some people r working on scripting languages same manual testing what is the difference between these two testing? ans please thanks in advance

3 Answers  


what is the good test case ? how can we tell this is good test case ? (test case characterstics)

4 Answers  


Should Tester have to write separate test cases document for Functional testing, UI testing, Regression Testing, Stress testing etc....?

1 Answers  


Give me atleast 10 cases of GOOGLE search engine?

7 Answers   Google,


explain me traceability matrix in brief....?

2 Answers  


Categories