docs: document Between and Times verification methods#438
Conversation
There was a problem hiding this comment.
Pull request overview
This PR documents two previously undocumented verification methods (Between and Times) in the Mockolate library's verification API. The changes enhance the documentation by adding descriptions to all verification methods and providing usage examples for the newly documented methods.
Changes:
- Added descriptions to all verification method list items to clarify their behavior
- Documented the
Between(min, max)method for verifying interactions within a range - Documented the
Times(predicate)method for custom verification predicates - Reformatted existing code examples for improved readability
- Added practical examples demonstrating the use of
BetweenandTimesmethods
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| README.md | Added descriptions to verification methods list, documented Between and Times methods, and added usage examples |
| Docs/pages/04-verify-interactions.md | Mirror of README.md changes - added method descriptions and examples for Between and Times verification methods |
🚀 Benchmark ResultsDetails
|
|
|
This is addressed in release v1.1.0. |



This PR documents two previously undocumented verification methods (
BetweenandTimes) in the Mockolate library's verification API. The changes enhance the documentation by adding descriptions to all verification methods and providing usage examples for the newly documented methods.Key Changes:
Between(min, max)method for verifying interactions within a rangeTimes(predicate)method for custom verification predicatesBetweenandTimesmethods