Skip to content

Missing explanation of how to construct / inject FileSystem (and others) in runable code #938

@EmanuelKedmi

Description

@EmanuelKedmi

Describe the bug
On first usage of this library, we have the README of the repo as guidance and nothing else.
this readme has example of how to use the abstractions in a class, but no example of how to provide the backing type.

To Reproduce

  1. In a new project add only TestableIO.System.IO.Abstractions as the readme would suggest
  2. Create a class like in the example in readme
  3. Try providing the FileSystem type, it doesnt exist, google searchs seem to indicate it should

Expected behavior
Need add some reference in the README (or add wiki) to the TestableIO.System.IO.Abstractions.Wrappers nuget which adds the relevant classes to actually allow running code and not just tests.

Additional context
Hopefully I have not missed some obvious section in some readme or some other place that mentions this,
though I still think it should be added to README file

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: metaIssues around high-level/organizational topicsstate: releasedIssues that are releasedtype: bugIssues that describe misbehaving functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions