-
Notifications
You must be signed in to change notification settings - Fork 28
Common Test Case Patterns
Dave Nicolette edited this page Feb 4, 2021
·
12 revisions
Home -> User Guide -> General User Guide ->
Note: Most of this functionality was present in the proof of concept and is being integrated with the Cobol Check code base. We note examples that have not yet been implemented and give an indication of when you can expect the functionality to be available.
- [Supported] Paragraph with no input values
- [Supported] Set input values before invoking paragraph
- [Release 0.1.0] Stub a paragraph so it does nothing
- [Release 0.1.0] Mock a paragraph and provide fake results
- [Release 0.1.0] Count the number of times a mock was accessed
- [Release 0.1.0] Mock a CALL statement and provide fake results
- [Release 0.1.0] Mock a batch file READ and provide a fake record
- [Release 0.1.0] Mock a batch file OPEN and provide a fake STATUS CODE
- [Release 0.2.0] Mock a CICS file read and provide fake results
- [Release 0.2.0] Mock a CICS file read and raise a condition
- [Release 0.2.0] Mock a SQL resource and provide fake results for SELECT
- [Release 0.2.0] Mock a SQL resource and provide a fake error
- [Release 0.3.0] Perform setup before each test case
- [Release 0.3.0] Perform one-time setup at the start of a test suite
- [Release 0.3.0] Parameterized test case