Browse Prior Art Database

Use of a Java Interface to define multiple test arguments

IP.com Disclosure Number: IPCOM000013276D
Original Publication Date: 2000-Nov-01
Included in the Prior Art Database: 2003-Jun-18
Document File: 2 page(s) / 77K

Publishing Venue

IBM

Abstract

Using A Java* Interface To Define Multiple Test Arguments

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 57% of the total text.

Page 1 of 2

Use of a Java Interface to define multiple test arguments

Using A Java* Interface To Define Multiple Test Arguments

This article discloses the details of an invention to statically define multiple test arguments using a Java Interface. Such an interface as defined and supported by the applicable test harness enables engineers who write testcases to pre-define test arguments directly in their testcases, ensuring their use in future invocations of the testcase.

As part of the Tivoli's** Java Execution Framework (JEF), the interface in question is defined to provide a common place where engineers can collect a set of default test arguments that will always be used for testcase execution. The interface consists of a two dimensional String array, as shown in Fig. 1. It is intended to be used with JEF's abstract JEFTestCase class or the IJEFTest interface. For each set of arguments the testcase will be invoked once and the arguments defined for that invocation will be appropriately parsed and placed into the String[][] argv array for the applicable methods of the testcase. This is done by the JEF Test Harness by introspecting the testcase and invoking its methods directly with these each new set of arguments. If a testcase implements this interface and has the public static String testArguments variable defined, then it is used.

An engineer would use this interface if they had a set of arguments that under normal conditions should always be passed into the testcase ( e...