Just found these tools on the IBM VM download site and thought they were interesting. http://www.vm.ibm.com/download/packages/descript.cgi?CHUG
CHUG is a script-directed test tool for VM. The input psuedo-language includes a variety of features for control and results checking. Output includes an HTML file with color coding to highlight errors. Inputs can be a set of files with a hierarchical structure; the HTML output will match the hierarchy and include appropriate links and result reports so that results can be viewed at multiple levels. CHUG control of the test UserID is total. Test scripts exist that IPL CMS, that bring up a 2nd-level system, that even log the user off and back on. Variables can be defined within scripts, and their values set in several ways including screen scraping. A limited means of combining variables is also available, e.g. concatenation and arithmetic operations. The string manipulation functions of the REXX language may also be used to process variables. There is some limited IF/THEN/GOTO control within the script. While CHUG creates multiple types of output files, the output is best viewed using a web browser. Color, shading, and links are used to display and distinguish script commands, the resulting lines on the test user's screen (a 24x80 3270-type terminal), and results deviating from the script's expectation. A technical description of the technique for creating hierarchical output is available. SHRUG is a tool very similar to CHUG. It uses the same form of input files and creates the same output files. But while CHUG logs on the test user connected (that is, the test user is logged on to a logical 3270 terminal), SHRUG logs on the user disconnected and works by SCIFing commands to the test user. For much testing, the connected/disconnected status of the test user does not matter, and the same input files work with both CHUG and SHRUG. But there are some tests where it is essential that the test user be connected (use CHUG) or be disconnected (use SHRUG). Because of the latter need, we include SHRUG in this package as well.