Skip to content

MDTest Installation

Pre-Requisites

  • MDCMS 8.6.1 or newer
  • MDOpen extension for VSCode 8.6+ (available now) or the MDOpen plugin for Eclipse/RDI 8.7+ (under construction)
  • License Key for MDTest
  • Minimum OS/400 - V7R2M0 TR9
  • DevTools - QDEVTOOLS library
  • License Program 5770-SS1 39 International Components for Unicode (only required for RegEx testing functions)

Where to Install

MDTest is only necessary to license and install on IBM i partitions where unit testing will occur. This is typically performed on development and functional testing partitions.

Install MDTest Library

A separate download for MDTest isn't necessary, as the installation package for the MDTEST product is included in the MDSEC product library.

A library named MDTEST (+ suffix of the MDCMS instance, when not default) contains all service programs and copybooks necessary for utilizing the MDTest functionality. This library must be installed once before MDTest can be used. Once the library exists, any future MDCMS upgrades run using MDINSSAVF will automatically update the MDTEST library as well.

Command to install the MDTEST library: MDINSTEST The command should be run from a command line from within an MDCMS green-screen session. There are no parameters for this command.

Cross-Reference MDTEST

For ease of use for the developers, it is highly recommended to add the MDTEST library to an application and level in MDXREF and then build the cross-referencing for this library. Steps (for an authorized MDXREF administrator):

  1. from green screen, enter command MDXREF and press enter
  2. press F9=Build Database
  3. select an application/level pair and use option L to list the libraries for the level.
  4. position to a blank row and add a sequence number and MDTEST to the library list and press enter.
  5. use option X to cross-reference MDTEST

Add MDTEST to Promotion Level Job Descriptions

The job description for each Promotion Level that will utilize MDTest for the compile-time and run-time of test programs will need to have the MDTEST library added to its library list. Steps (for an authorized MDCMS administrator):

  1. from green screen, enter command MDCMS and press enter
  2. select option 1=MDCMS Setup Menu
  3. select option 2=Promotion Levels
  4. for each applicable level, use option J=JOBD to edit the job description