Project Configuration for Program Tests

When you create a test program of type 'program test', a number of configurations are made to the unit test project:

  • The two copybooks required by the Micro Focus Unit Testing Framework are copied into the project.

    Copybook entries in test code

  • A test setup and a test case are created.

    Sample test setup code

  • A procedure pointer has been added to the test setup that enables you to call into the program under test.

    procedure pointer in test code

  • If required, the Linkage section from the source program is replicated in the Working-storage section, initialized, and a CALL statement coded in the test case.

    Call statement linking to code under test

  • The Output path is set to the same directory as the output path for the source program's project.