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

What are the advantages of Manual Testing?

3 Answers  


Can you explain capability levels in continuous representation?

0 Answers  


How to Test the Cookies and Memory leakages? (I.e. does the cookies expired or not and about memory leakage)?

0 Answers  


When testing a grade calculation system, a tester determines that all scores from 90 to 100 will yield a grade of A, but scores below 90 will not. This analysis is known as: A. Equivalence partitioning B. Boundary value analysis C. Decision table D. Hybrid analysis

6 Answers   ISTQB,


How to write test condition for testing a URL??

3 Answers   STC, TCS,






How do you arrive at the estimaton of efforts for a particular function, if you have not worked on that function testing before and do not have any past experience?

7 Answers   RBS,


Actually by using severity u should know which one u need to solve so what is the need of priority?

11 Answers   FIC,


what is the difference between regression testing and re testing..?

16 Answers   AZTEC, HCL,


Hi,please help me out with my ques:as soon as the build we get from developer,how will we start testing?first all how the build we get (means which form)?who will install it in the system and how tl will assign us the work?

1 Answers  


what are the types of Bug?

0 Answers  


How you convine the Client that the application is very stable after testing. What type of Document you show to him or anything.

3 Answers   HP,


In which type of testing testing started from requirement phase?

3 Answers   Cap Gemini, Persistent,


Categories