Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rogervinas opened this issue Dec 11, 2023 · 0 comments

Comments

@rogervinas
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant