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 common interface?

1609


What is desk checking and control flow analysis

854


How do you perform configuration management with typical revision control systems?

1737


I HAVE AN INTERVIEW IN A SOFTWARE COMPANY FOR THE POST OF FUNCTIONAL TEST ENGINEER. THEY WANT THE PERSON FROM BCOM BACK GROUND( I AM A BCOME GRADUATE 2006) AND THE PERSON SHOULD HAVE GOOD ACCOUNTS KNOWLEDGE. NOW I WANT TO KNOW WHAT KINDS OF QUESTIONS THEY CAN ASK OR CAN GIVE IN WRITTEN TEST. I M NERVOUS COZ ITS BEEN 5 YEARS I HAVE DONE BCOM. SO HOW SHUD I PREPARE FOR INTERVIEW.PLEASE HELP? reply me pls. its urgent. thanks

1656


During alpha testing why customer people are invited?

815






What is the difference between SIT AND IST?

2709


Have you ever completely tested any part of a product? How?

2112


What is PBX Testing & What is Test coverage?

10092


Why is it impossible to test a program completely?

1079


How we will test ubercate

1657


Describe to me what you see as a process. Not a particular process, just the basics of having a process.

1812


A form has four mandatory fields to be entered before you submit. How many numbers of test cases are required to verify this? And what are they?

748


What is a good test? Wy do we need testing write test steps for triangle write test steps for ATM How a tester should approach a devloper about non accepted defect? What is test coverage assurance and give an example Draw and expain V model and how it is helpfull in software development

1725


How to do Pixel Size testing in a PDF document. Is there any Open tool that will be avaiable?

1629


What is function points??????

1646