What is Test harness?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is test closure?

900


What is bug release?

711


Which model is following in your company for developing software?

721


tell me 5 new requirements in ur project? plz urgent

1968


What is the difference between baseline and traceability matrix?

738






wat if fiddler and how it is used in tesing an application. please explain with a real time scenario

1707


Can anybody give me some tips on how to face telephonic interview and Write some expected telephonic questions as a 2+yr exp. in testing. Try to give Ques. that u already hv faced in telephone. Plz Help me out friends.

1606


What do you mean by Unit Testing, Integration Testing, System Testing, and User Acceptance Testing and when do you do them?

7099


What are the review documents used for testing?

1578


What is build interval period?

1844


HI, I WANT TO DO A ISTQB FOUNDATION CERTIFICATION FROM HYDERABAD WHICH INSTITUTE WOULD BE GOOD FOR ME,WHERE I CAN TAKE SOME TRAINING SESSIONS FOR CLEARING THIS EXAMINATION.

1795


What is mean by Schedule report who is the responsible for generated that one ?

1682


what is coupling integration testing

1640


What is showstopper defect?

685


how will we change the server system time?

1807