You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspired by TestableIO/System.IO.Abstractions#1081:
Add an option to verify which methods were called on the MockFileSystem. This should cover the following use cases:
Determine if a method was called with specific parameters
Determine if a method was called before another method
Determine how often a method was called
Idea:
Add a Statistics property on the MockFileSystem. All external calls get registered there.
This property should expose a list of called methods, each with the name of the method and its parameters.
The calls should contain a global incremented "sort order" to determine the order in which the methods were called.
From #476
After implementing basic statistics for methods in #474, also support
statistics for property access.
---------
Co-authored-by: Valentin <valentin.breuss@baur.at>
Inspired by TestableIO/System.IO.Abstractions#1081:
Add an option to verify which methods were called on the
MockFileSystem
. This should cover the following use cases:Idea:
Statistics
property on theMockFileSystem
. All external calls get registered there.We could then write extension methods (e.g. in https://github.com/Testably/Testably.Abstractions.FluentAssertions) to verify the above scenarios.
The text was updated successfully, but these errors were encountered: