The online community for software testing & quality assurance professionals
   
Active Topics Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Jobs
Training
News
Links
Downloads

News Group:
software.testing


Testing
Automation
Performance
Engineering
Miscellaneous
Statistics
Poll
  QA Forums
  General Discussion
  Test Harness

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Test Harness
Govind
Guru

Posts: 245
Registered: Jan 2001

posted 03-29-2001 10:41 PM     Click Here to See the Profile for Govind   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by Govind
What is test harness?
Any links that help me get more details

sorry to ask a basic question being a tester for quite a long time

IP Logged

jstrazzere
Moderator

Posts: 2134
Registered: May 2000

posted 03-30-2001 04:41 AM     Click Here to See the Profile for jstrazzere   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by jstrazzere
A test harness usually runs your test cases.
It is perhaps a "shell" into which you can easily insert more test cases.

For example, when testing the database layer of a client-server system once, we built a test harness. It was a simple executable, along with an automated test tool script which could:
- accept the database calls to be executed
- execute the calls
- retrieve the database response
- compare the actual response against the expected response
- log the results accordingly

After that it was just a matter of inserting the new test cases and expected results into the array that the test harness used.

We ended up using the one test harness along with thousands of test cases to make a pretty effective test suite.

It allowed us to test the database layer in isolation from the rest of the system. We didn't need to depend on the GUI or client code, or anything else to be working.

We could easily create a subset of all the test cases if needed, or execute them in a loop for extended testing.

-joe

IP Logged

punekar
Advanced Guru

Posts: 588
Registered: Dec 2000

posted 03-31-2001 04:23 AM     Click Here to See the Profile for punekar   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by punekar Visit punekar's Homepage!

By that definition, I suppose you call Kent Beck's xUnit a generic test harness. Agree?

------------------

IP Logged

All times are PT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A Reply
Hop to:

Contact Us | BetaSoft Inc. | Privacy Statement

Copyright © 1997-2003 BetaSoft Inc.


Ultimate Bulletin Board 5.45c