The Source for Java Technology Collaboration


Home | Help | Changes | Index | Search | Go

SoftwareTestHarnesses

SCOPE: Test harnesses for executing tests of a Java application or a Java platform implementation.

TBD: Need a good definition of a test harness.

TBD: What makes a test harness a unit test harness versus a test harness? That's a curious conundrum, what makes a given test a unit test or a functional test?

A test harness, at the least, provides

  • Ability to execute a series of test cases
  • Ensure robust execution and robust capture of test results
  • Capture all information about failures, even in the face of crashes

Some people say a test harness provides more capabilities such as:

  • Provide a framework to simplify writing tests

Test harnesses

  • JUnit - simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks. TBD: Define what xUnit architecture means.
  • TestNG - a testing framework inspired from JUnit and NUnit but introducing some new functionalities that make it more powerful and easier to use.
  • JT harness is based on Sun Microsystem's JavaTest ™ harness. The JT harness is a general purpose, fully-featured, flexible, and configurable test harness very well suited for most types of unit testing. Originally developed as a test harness to run TCK test suites, it has since evolved into a general purpose test platform.

Open Source Testing: Functional Testing mostly seems to be harnesses.



Discussion about SoftwareTestHarnesses

XP Programming software page has a list of unit testing frameworks for a wide variety of languages. Some of them are Java related.

Topic SoftwareTestHarnesses . { Edit | Ref-By | Printable | Diffs r2 < r1 | More }
 XML java.net RSS

Revision r2 - 25 Apr 2007 - 05:25:41 - Main.robogeek
Parents: WebHome > Testing