Perform setup before each test case - openmainframeproject/cobol-check GitHub Wiki
Home -> User Guide -> Common Test Case Patterns ->
Note: This is the same as the proof-of-concept functionality. The only difference is END-BEFORE-EACH and END-AFTER-EACH instead of END-BEFORE and END-AFTER, changed due to the new BEFORE-ALL feature.
TESTSUITE 'description'
BEFORE EACH
_Cobol statements_
END-BEFORE
AFTER EACH
_Cobol statements_
END-AFTER
TESTCASE ...
TESTCASE ...