v0.4-alpha
Pre-release
Pre-release
Fourth alpha release of OEMock.
This version is functional, and provides more functionality that v0.3-alpha. It has been run and tested on a live procedural code-base, but has not been tested on more that the most basic coding patterns for classes, and is known to be deficient in some areas. (for example, when identifying class methods on stubbed/mocked objects, overloaded methods are not supported.)
This release has focussed more on the stability of the product working with a large code-base, rather than adding new features.
Known Issues/Limitations
- When identifying class methods in a Stub or Mock object, overloaded methods are not supported.
- Issue #17 raised for implementation.
- You cannot specify expectations on BUFFER, TABLE or DATASET parameters.
- Issue #30 raised for fix.
Changes Since Last Release
- Add functionality to automatically compile a test double after it is generated
- Raise a more meaningful error when a syntax error is found in a file being stubbed/mocked.
- Fix error when recording BUFFER, TABLE and DATASET parameter values in a mocked file.
- These values are no longer recorded and expectations should not be raised on these parameters
- This will be resolved in a later release (see issue #30)
- Resolve issue when producing a test double on a large source file with the SUBSTITUTE command (error 11311)
- Fix issue with table parameters not being regenerated correctly
- Reduce the amount of options output on a temp-table in a test double to prevent creating a statement longer than maximum allowed value.
- Code generated now uses "~n" as a line ending, rather than CHR(13)
- This should aid with debugging generated code, but should have no impact during use.
- Missing temp-table definitions in unit tests for OEMock have been added.