neopragma / cobol-unit-test

Unit testing framework and sample code for batch Cobol programs.
GNU General Public License v3.0
117 stars 36 forks source link

Want more natural DSL syntax for verifying mocked paragraphs. #55

Closed neopragma closed 9 years ago

neopragma commented 9 years ago

This works:

VERIFY PARAGRAPH 2000-FOO HAPPENED 4 TIMES

but this would be more natural language:

VERIFY PARAGRAPH 2000-FO WAS PERFORMED 4 TIMES
VERIFY PARA 2000-FOO PERFORMED 4 TIMES

Allow PARA as a synonym for PARAGRAPH. Allow WAS to be optional syntactic sugar.

neopragma commented 9 years ago

Implemented as described.