openmainframeproject / cobol-check

A testing framework for Cobol applications
Apache License 2.0
79 stars 28 forks source link

Context sensitive syntax check for unit tests #214

Closed dakaa16 closed 2 years ago

dakaa16 commented 2 years ago

Currently Cobol Check, checks the validity of the unit test (.cut) syntax, by checking, if the last token, can be followed by the current token. This may catch a lot of syntax errors, however a lot can go unnoticed, and lead to unexpected behavior. Thus we need to make the syntax check context sensitive. When we enter an EXPECT-statement, Cobol Check needs to know that it is built the right way. The same goes for MOCK and VERIFY.

KlausMikhaelson commented 2 years ago

Hey @dakaa16 I have some experience with java and would like to work on this issue, can I get this assigned to me ?

Rune-Christensen commented 2 years ago

Hi @KlausMikhaelson There you go, looking forward to see your work :-) /Rune

dakaa16 commented 2 years ago

Has been resolved