You can write unit tests as self-contained single COBOL programs, or can separate the elements (the testing logic and the data) into programs and sub-programs; this section contains examples of both.
Your
Visual COBOL installation also ships with a sample suite of programs that demonstrates the Micro Focus Unit Testing Framework. This sample is installed in the
mfunit directory, located at
%PUBLIC%\Documents\Micro Focus\Visual COBOL\Samples (Windows), or
$COBDIR/demo (UNIX).