feat: add AllInteractionsAreVerified#32
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a new AllInteractionsAreVerified assertion method for the Mockolate mocking library integration. This method verifies that all mock interactions have been properly verified in tests.
Key changes:
- Introduced
ThatMockVerifyextension class withAllInteractionsAreVerifiedmethod - Refactored
MyDescribableSubjectinto a shared helper class - Updated Mockolate dependency to version 0.36.0
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| ThatMockVerify.cs | New partial class containing mock verification expectations |
| ThatMockVerify.AllInteractionsAreVerified.cs | Implementation of the AllInteractionsAreVerified constraint |
| Helpers/MyDescribableSubject.cs | Extracted helper class for formatting mock descriptions |
| ThatVerificationResult.cs | Removed duplicated MyDescribableSubject class |
| ThatMockVerifyIs.cs | Test interface definition for mock verification tests |
| ThatMockVerifyIs.AllInteractionsAreVerifiedTests.cs | Comprehensive test coverage for the new verification method |
| aweXpect.Mockolate_*.txt | Updated API surface for all target frameworks |
| Directory.Packages.props | Updated Mockolate dependency version |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🚀 Benchmark ResultsDetails
|
|
This is addressed in release v0.6.0. |



This PR adds a new
AllInteractionsAreVerifiedassertion method for the Mockolate mocking library integration. This method verifies that all mock interactions have been properly verified in tests.Key changes:
ThatMockVerifyextension class withAllInteractionsAreVerifiedmethodMyDescribableSubjectinto a shared helper classThatAllInteractionsAreVerified#18