Skip to content

Observing changes in the MockFileSystem #805

@SuperJMN

Description

@SuperJMN

Describe the solution you'd like
I'd like to be able to observe common/interesting events (from a testing perspective) that happen into a MockFileSystem.

Why? I'm creating a cache service that uses an IFileSystem and I need to test that a file is only written once.

Describe alternatives you've considered
I've tried to implement my own MockFileSystem using System.Reactive, but the work is a bit overwhelming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: testinghelpersIssues that address the testing helpersstate: ready to pickIssues that are ready for being worked ontype: enhancementIssues that propose new functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions