coverage: improve mutation test coverage (3)#350
Conversation
There was a problem hiding this comment.
Pull request overview
This PR improves mutation test coverage by adding new test cases that verify sorting behavior of unverified interactions and the reset functionality of the interaction index counter.
Key changes:
- Added three new test methods to verify interaction tracking edge cases
- Removed an unused
usingdirective forMockolate.Exceptions
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Tests/Mockolate.Tests/Verify/MockVerifyTests.cs | Added tests verifying that unverified interactions maintain proper sorted order and that verification state updates correctly across multiple calls |
| Tests/Mockolate.Tests/MockSetupsTests.cs | Added test verifying that clearing all interactions properly resets the interaction index counter to zero |
| Source/Mockolate/Interactions/MockInteractions.cs | Removed unused using Mockolate.Exceptions directive |
|
🚀 Benchmark ResultsDetails
|
|
This is addressed in release v0.49.0. |



This PR improves mutation test coverage by adding new test cases that verify sorting behavior of unverified interactions and the reset functionality of the interaction index counter.
Key changes
usingdirective forMockolate.Exceptions