Skip to content

Default Directory Structure

Dave Nicolette edited this page Jan 3, 2021 · 13 revisions

Home -> User Guide -> General User Guide ->

your-project-root/                                      config settings
  |
  +-- cobol-check-copybook-dir                       <- cobolcheck.copybook.directory
  |
  +-- your-prod-src-tree/                            <- application.source.directory,
  |     |                                               application.copybook.directory
  |     +-- cobol-programs-to-be-tested/ 
  |           | 
  |           +-- any-dir-structure-that-makes-sense-to-you/ 
  |                 |
  |                 +-- PROGRAM1.CBL
  |                 |
  |                 +-- PROGRAM2.CBL
  |
  +-- your-test-src-tree/                            <- test.suite.path (or --test-suite-path option)
        |
        +-- PROGRAM1/ 
        |     | 
        |     +-- testsuite-1-for-program-1 
        |     | 
        |     +-- testsuite-2-for-program-1 
        |
        +-- PROGRAM2/ 
              | 
              +-- testsuite-1-for-program-2 
              | 
              +-- testsuite-2-for-program-2 

Example

project-root/ | +-- cobolcheck/ | | | +-- copybooks/ <- cobolcheck.copybook.directory = cobolcheck/copybooks
| | | +-- ZUTZCWS | | | +-- ZUTZCPD | | | +-- DFHEIBLK | +-- src/ | +-- main/ | | | + cobol/ <- application.source.directory = src/main/cobol | | | +-- copy/ <- application.copybook.directory = src/main/cobol/copy | | | | | +-- *.CPY | | | +-- PROGRAM1.CBL | | | +-- PROGRAM2.CBL |
+--test/
| +-- cobol/ <- test.suite.path = src/test/cobol | +-- PROGRAM1/ | | | +-- testsuite1-program1 | | | +-- testsuite2-program1 | +-- PROGRAM2/ | +-- testsuite1-program2 | +-- testsuite2-program2

Clone this wiki locally