-
Notifications
You must be signed in to change notification settings - Fork 32
Common Test Case Patterns
Dave Nicolette edited this page Dec 25, 2020
·
12 revisions
Home -> User Guide -> General User Guide ->
Note: Most of this functionality is not in place yet. Code is in progress. As of December, 2020, these examples serve as specifications rather than documentation. As development proceeds, this page will be updated to reflect which functionality has been implemented, as well as any changes we make to the syntax. At least this provides a general idea of the direction the tool is going. Feedback is welcome.
- Paragraph with no input values
- Set input values before invoking paragraph
- Stub a paragraph so it does nothing
- Mock a paragraph and provide fake results
- Count the number of times a mock was accessed
- Mock a CALL statement and provide fake results
- Mock a batch file READ and provide a fake record
- Mock a batch file OPEN and provide a fake STATUS CODE
- Mock a CICS file read and provide fake results
- Mock a CICS file read and raise a condition
- Mock a SQL resource and provide fake results for SELECT
- Mock a SQL resource and provide a fake error
- Perform setup before each test case
- Perform one-time setup at the start of a test suite
- Parameterized test case