All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Before/After All
- Parameterized tests
- Mock CICS resources
- Mock SQL tables
- Mock batch file I/O
- Fixed a bug where an exit code of 4 was not allowed.
- Fixing bug when JOIN followed by ON in next line is not only JOIN but f.ex. LEFT OUTER JOIN.
- Reverted unit test result twice fix and fixed the windows run tests script instead. This should fix double output error and missing output errors.
- Bumped versions to properly release vscode extension that uses new cobol-check.
- Fixing bug when cobolcheck.test.program.name was ending with white spaces.
- Fixing bug in showing unit test result twice.
- Better thread handling of the files processInput and processError
- Proper handling of END-EXEC without trailing period in WORKING-STORAGE
- Fixed bugs in input argument handling
- Fixed bug with spaces in path
- Added default return code
- Added ability to mock and verify calls without commas separating arguments
- Fixes to the linter
- Greatly improved management of mocked sections
- Added the usage of test tree instead of own test run panel
- Fixed a bug where numeric fields where not properly identified
- Added a warning when a call was attempted and not mocked, and the ability to throw an error instead
- Updated metadata on the extension
- Improved usage of the Gnu COBOL compiler
- Updated the test workflows
- Added expanding of copybooks in exec-sql statements
- And lots of other minor things
- EXPECT now properly handles variable subscription without a space delimiter (EXPECT varibable(idx) TO BE 1)
- COBOL level item 77 now handled properly
- More robust scanning of WORKING-STORAGE items
- Corrected assignment of the various COBOL computational binary field types.
- Datastructure-verification for Working Storage has been added.
- Compiler options for COBOL Check's run of GnuCOBOL can be set in the config-file
- Minor improvements to error handling
- EXPECT accepts COBOL keywords again as the last keyword
- EXPECT handles negative numbers again
- Implemented context aware syntax check
- Minor bug fixes
- Improved text output formatting on failed tests
- Minor improvement for syntax error messages
- Minor bug fixes
- Fixed links in test results HTML
- Made it possible to have sequence numbers in unit tests
- Made error messages in the error log better
- Mock paragraph
- Mock section
- Mock Call statement
- Mocks can be global or local
- Verification of the amount of times a mock was accessed
- Before/After Each
- Start- and end tags for injected code
- Support for DECIMAL-POINT IS COMMA
- Test output in XML JUnit format
- Test output as HTML
- Simple syntax and runtime error log for the cobol unit test language (cut)
- Configuration for file encoding
- Configuration for file access
- Configuration for running or simply generating the test program
- Configuration for including rules as the first part of the generated program
- Basic test case functionality
- On Microsoft Windows, the -p or --programs command-line option only works with a single program name at a time.
- Started the cobol-check project as a follow-on to https://github.com/neopragma/cobol-unit-test, which was a proof-of-concept effort to produce a unit testing tool for Cobol that could exercise individual Cobol paragraphs in isolation.