Skip to content

Conversation

@laloona
Copy link

@laloona laloona commented Nov 17, 2025

Introduce two new parameter matching rules for the MockObject framework:

  • UnorderedParameterSets: validates parameters across multiple invocations without requiring a specific order.
  • ConsecutiveParameterSets: validates parameters for consecutive method invocations in a defined sequence.

These rules extend the flexibility of argument verification and integrate with the existing Rule API and invocation matching logic.

@codecov
Copy link

codecov bot commented Nov 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.98%. Comparing base (ff7b7fb) to head (6e701f7).
⚠️ Report is 16 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6416      +/-   ##
============================================
+ Coverage     95.96%   95.98%   +0.01%     
- Complexity     7282     7307      +25     
============================================
  Files           789      792       +3     
  Lines         22395    22473      +78     
============================================
+ Hits          21492    21570      +78     
  Misses          903      903              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@laloona laloona marked this pull request as draft November 17, 2025 09:36
@sebastianbergmann sebastianbergmann added type/enhancement A new idea that should be implemented feature/test-doubles Test Stubs and Mock Objects labels Nov 17, 2025
@laloona laloona marked this pull request as ready for review November 17, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature/test-doubles Test Stubs and Mock Objects type/enhancement A new idea that should be implemented

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants