Skip to content

Comments

docs: document advanced callback features#430

Merged
vbreuss merged 1 commit intomainfrom
topic/document-advanced-callback-features
Jan 31, 2026
Merged

docs: document advanced callback features#430
vbreuss merged 1 commit intomainfrom
topic/document-advanced-callback-features

Conversation

@vbreuss
Copy link
Contributor

@vbreuss vbreuss commented Jan 31, 2026

This PR adds comprehensive documentation for advanced callback features in the Mockolate mocking library. The documentation covers conditional execution, frequency control, parallel execution, and invocation counter access for callbacks.

Key Changes:

  • Added new "Advanced Features" section to README.md documenting callback capabilities
  • Created dedicated documentation page for advanced callback features
  • Updated category configurations to expand documentation sections by default

@vbreuss vbreuss self-assigned this Jan 31, 2026
Copilot AI review requested due to automatic review settings January 31, 2026 06:23
@vbreuss vbreuss added the documentation Improvements or additions to documentation label Jan 31, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive documentation for advanced callback features in the Mockolate mocking library. The documentation covers conditional execution, frequency control, parallel execution, and invocation counter access for callbacks.

Changes:

  • Added new "Advanced Features" section to README.md documenting callback capabilities
  • Created dedicated documentation page for advanced callback features
  • Updated category configurations to expand documentation sections by default

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
README.md Added comprehensive "Advanced callback features" section with examples of conditional callbacks, frequency control, parallel callbacks, and invocation counter usage
Docs/pages/advanced-features/category.json Set category to expanded state by default
Docs/pages/special-types/category.json Set category to expanded state by default
Docs/pages/advanced-features/01-advanced-callback-features.md Created new documentation page with detailed examples of all advanced callback features

@sonarqubecloud
Copy link

@github-actions
Copy link

Test Results

    21 files  ±0      21 suites  ±0   6m 34s ⏱️ + 1m 5s
 2 517 tests ±0   2 516 ✅ ±0  1 💤 ±0  0 ❌ ±0 
16 800 runs  ±0  16 799 ✅ ±0  1 💤 ±0  0 ❌ ±0 

Results for commit 76eef34. ± Comparison against base commit f51b285.

@vbreuss vbreuss merged commit 56f1c38 into main Jan 31, 2026
12 checks passed
@vbreuss vbreuss deleted the topic/document-advanced-callback-features branch January 31, 2026 06:28
@github-actions
Copy link

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.102
[Host] : .NET 10.0.2 (10.0.2, 10.0.225.61305), X64 RyuJIT x86-64-v3

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Method Mean Error StdDev Gen0 Gen1 Allocated
Simple_Mockolate 1.552 μs 0.0119 μs 0.0111 μs 0.2270 - 3.73 KB
Simple_Moq 176.897 μs 0.5181 μs 0.4593 μs 0.4883 - 14.55 KB
Simple_NSubstitute 5.832 μs 0.0557 μs 0.0521 μs 0.5493 0.0076 9.09 KB
Simple_FakeItEasy 6.619 μs 0.0304 μs 0.0285 μs 0.4959 - 8.11 KB

@github-actions
Copy link

This is addressed in release v1.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation state: released The issue is released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document advanced callback features

1 participant