Skip to content

Commit 84619bd

Browse files
cobol check: making different pargraphs for better readability
Signed-off-by: Ashis Kumar Naik <[email protected]>
1 parent f92e630 commit 84619bd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

COBOL Programming Course #4 - Testing/COBOL Programming Course #4 - Testing.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ In this chapter, our focus will be on utilizing COBOL Check with Enterprise COBO
359359
## How does COBOL Check accomplish unit testing?
360360

361361
With COBOL Check we can exercise individual COBOL paragraphs in isolation from the rest of the program and without any access to any external resources such as datasets or CICS facilities. COBOL is not designed to do this kind of thing at runtime then how does COBOL check accomplish it?
362+
362363
Developers write test cases using the DSL (domain specific language). The DSL is designed to look similar to COBOL source code, so that it could be intuitive for COBOL programmers.
363-
COBOL-check interprets these test cases and converts them into standard COBOL statements and merges them with the source of the program under the test. This copy of the program under test which contains test code is then compiled and executed.
364-
The test code does not run the entire procedure division; instead, it only calls the specific paragraphs that are mentioned in the test case.
364+
365+
COBOL Check interprets these test cases and converts them into standard COBOL statements and merges them with the source of the program under the test. This copy of the program under test which contains test code is then compiled and executed. The test code does not run the entire procedure division; instead, it only calls the specific paragraphs that are mentioned in the test case.

0 commit comments

Comments
 (0)