Examples - Writing Tests

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 number of sample test suites that demonstrate a number of capabilities of the Micro Focus Unit Testing Framework. These samples are installed in the mfunit directory, located at %PUBLIC%\Documents\Micro Focus\Visual COBOL\Samples (Windows), or $COBDIR/demo (UNIX).