Skip to content

Allow to use custom mocks for parts of the file system #1465

@PaulMaget

Description

@PaulMaget

Is your feature request related to a problem? Please describe.
For my tests I want to customize method returns, exceptions and count calls.
I generally do this using Moq, but using MockFileSystem makes it much more useful.

Describe the solution you'd like
My request would be to add a way to inject a different kind of mock in parts of the file system, or to add way to customize method callbacks.

Sorry if this already possible, I didn't find how.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions