Conversation
…nt, and method verification
|
🚀 Benchmark ResultsDetails
Details
Details
Details
Details
|
…nt, and method verification
|
🚀 Benchmark ResultsDetails
Details
Details
Details
Details
|
This pull request adds comprehensive new tests to the
Mockolate.Tests/Verifysuite, focusing on verifying the correct behavior of interaction verification, fast-path property/indexer/event handling, and record sorting logic. These tests ensure that verification methods mark interactions as verified, that buffer and fallback logic is exercised, and that error messages are properly formatted.New test coverage for fast-path and fallback verification:
VerifyPropertyFastPathTeststo test property getter/setter verification, including correct error messages, predicate logic, and buffer handling.IndexerFastPathTeststo test indexer getter/setter verification, including error messages and value matching.SubscribedToFastPathTestsandUnsubscribedFromFastPathTeststo verify event subscription and unsubscription handling, including buffer and fallback logic.VerifyMethodFallbackTeststo ensure method verification works when fast buffers are not present.Enhancements to verification result mutation tests:
VerificationResultMutationTeststo ensure that both awaitable and synchronous verification methods mark matching interactions as verified, including when fast-count sources are absent.OutOfOrderBuffertest helper to simulate out-of-sequence interaction records for sorting tests.