Introduction

Adhoc_IT is targeted at individual developers who need to run repeated tests on a specific program. It provides a consistent, repeatable test environment in terms of parameter structure, parameter values, library list and local data area without requiring the full definition of a Test Case. It therefore introduces many of the concepts and techniques that will be encountered when you use Test Cases to take full advantage of the TestBench facilities.

The primary benefits of Adhoc_IT are:

  1. Setting and monitoring program parameters – TestBench will attempt automatically to retrieve the definitions of the program parameters from the source. (See section on Global Facilities.) Initial parameter values to accompany the program CALL can be specified. The value of those same parameters at the conclusion of the program call is monitored and changed parameters are highlighted.
  2. Setting and monitoring Local Data Area – TestBench allows you to specify the initial state for the Local Data Area (*LDA). The state of the Local Data Area at the conclusion of the program call is monitored and any differences are highlighted.
  3. Setting Library List – The library list that is required to successfully execute the program can be specified.
  4. Request Logging – A key feature is that the details of parameter definition, initial parameter values, initial Local Data Area state and the initial library list are all stored as ‘last used’ values for the program. When the program is selected from the list of logged items, all these settings are also retrieved and set.
  5. Job Log Analysis – Entries will be automatically placed in the OS/400 Job Log before and after the program CALL. The TestBench Job Log display will be automatically limited to those messages that occurred during the program CALL. (See the section on Global Facilities for more information on TestBench Job Log Display).
  6. Performance Data – Basic performance data for the program CALL in terms of CPU millisecond usage and ancillary Input / Output is reported.
    Differences between Adhoc_IT and Test Cases
    Adhoc_IT only provides a sub-set of the facilities of a Test Case. The following areas are excluded:
    • Data protection and analysis are NOT supported. If these features are required you should create a Test Case.
    • Testing by Command. Adhoc_IT only supports the initiation of a test by a program CALL.
    • Data Rules cannot be defined and Project level Data Rules are ignored.

Differences between Adhoc_IT and Test Cases
Adhoc_IT only provides a sub-set of the facilities of a Test Case. The following areas are excluded:
• Data protection and analysis are NOT supported. If these features are required you should create a Test Case.
• Testing by Command. Adhoc_IT only supports the initiation of a test by a program CALL.
• Data Rules cannot be defined and Project level Data Rules are ignored.