Examples - Writing Tests

You can write unit tests as standalone single COBOL programs, or can separate the elements (the testing logic and the source code to test) into programs and sub-programs; this section contains examples of both.
Your Enterprise Developer 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 $COBDIR/demo.