Skip to content

Testing a callable program - error: executable program requested but PROCEDURE/ENTRY has USING clause #339

@rogervinas

Description

@rogervinas

Hi! I created this simple example Tests Everywhere - COBOL

In this example I can easily test:

  1. HELLO-MESSAGE paragraph
  2. HELLO paragraph mocking paragraph HELLO-MESSAGE and call to program HELLO-CONSOLE

But I am just curious how I should test HELLO-CONSOLE program, If I just try I get this error:

CC##99.CBL:139: error: executable program requested but PROCEDURE/ENTRY has USING clause

Is there any way to test it? I created this PR to reproduce it rogervinas/tests-everywhere#56

Thanks for this cool project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions