Browse Prior Art Database

Testcase script generator

IP.com Disclosure Number: IPCOM000014967D
Original Publication Date: 2001-Jul-15
Included in the Prior Art Database: 2003-Jun-20

Publishing Venue

IBM

Abstract

A program is disclosed that acts as a test harness that solves the problem of the test harness interfering with the testcases. A testcase is a computer program whose purpose is to test some aspect of a system or program under test. A test harness is a computer program which runs a set of testcases (known as a test suite). A typical test harness will perform the following: 1. Select the testcases to be run from the test suite with regard to options specified by the user. 2. Read user options which specify the test environment for the testcases and program under test. 3. Set up the test environment for the testcases and program under test. 4. Execute the selected testcases. 5. Determine which testcases have passed and failed. 6. Produce a report containing: a description of the test environment, a list of testcases that passed and failed, and detailed output from testcases that failed. The disclosed program also has the following additional features: 1. Interference between the testcase and test harness is eliminated. 2. Support for testcases that mix Java* and native code and compile C++ code (for example: JNI Java Native Interface). Currently the various testsuites that do this differ from each other and in the way they are started on different platforms. 3. It is easy to run a testcase standalone. 4. Compile delay is removed from interactive test runs. Explanation of the additional features: 1. Interference between the testcase and test harness is eliminated.