docs: document advanced MockBehavior configuration options#439
Conversation
There was a problem hiding this comment.
Pull request overview
This PR enhances the documentation for advanced MockBehavior configuration options in Mockolate. It adds detailed explanations for several MockBehavior features that were previously undocumented or insufficiently described.
Changes:
- Document the counter parameter option for
Initialize<T>()callbacks - Add documentation and examples for
.WithDefaultValueFor<T>()method - Document the
.UseConstructorParametersFor<T>()configuration method - Normalize ellipsis characters from
...to…for consistency
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| README.md | Added comprehensive documentation for MockBehavior configuration options and normalized ellipsis usage |
| Docs/pages/special-types/02-delegates.md | Normalized ellipsis characters from ... to … for consistency |
| Docs/pages/01-create-mocks.md | Added comprehensive documentation for MockBehavior configuration options matching README updates |
|
🚀 Benchmark ResultsDetails
|
|
This is addressed in release v1.1.0. |



This PR enhances the documentation for advanced MockBehavior configuration options in Mockolate. It adds detailed explanations for several MockBehavior features that were previously undocumented or insufficiently described.
Key Changes:
Initialize<T>()callbacks.WithDefaultValueFor<T>()method.UseConstructorParametersFor<T>()configuration method...to…for consistency