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

Explain 5 Test Matrics?

2 Answers   Persistent,


we need to perform Soak Perf Test, Resilience Perf Test, Regression Perf Test.

0 Answers  


what are the test cases to prove that given figure is triangle?

1 Answers  


What is difference between quality and testing?

6 Answers   Wipro,


If tester report a bug & developer open it & bug is not occur there. What sud tester do in this situation??

4 Answers  






what is the difference between quality control and quality assurance?

5 Answers  


do u know abt descryptive programming

5 Answers   Polaris,


What are the review documents used for testing?

0 Answers  


Hallow friends, plase tell me difference between retesting and regression testing?

6 Answers  


hi frnds! can any one help me by answering the below questions. 1.what is client server testing ? 2.what is web-based testing and what exactly tested in this ? 3.and exact difference between these two type of testing methods i can be reached on shrinivaster@gmail.com if any help needed from my side. thanks shri

3 Answers   Samsung,


what is N+1 testing

1 Answers   AmpleLogic,


what is call-pair ,cross testing,

2 Answers  


Categories