Skeleton Cobol Project.

Existing discussion on the topic of using Skeleton programs to teach cobol. Instead I like to use skeleton programs to start a project.

The common features in my skeleton project are:

:- Testing framework gcblunit :- Main function :- Secondary function called from main function. :- Makefile

Talk about level 77.



Using 'assert-equals'

There is also assert-notequals

function-in-fetch-url-test section.
       MOVE 1 to A
       MOVE 2 to B
       MOVE 3 to EXPECTED

       call "fetch-url" using BY REFERENCE a,
                              BY REFERENCE b,
                              BY REFERENCE res

       call "assert-equals" using res, expected.

Resources: