Skip to main content

A set of abstractions to help make file system interactions testable.

Total Downloads
35.7M
35,676,311
Published
Nov 22, 2026
3d ago

Get Started

dotnet add package Testably.Abstractions.FileSystem.Interface --version 11.1.0
ProductVersions
.NET
net10.0net11.0net6.0net8.0net9.0
.NET Standard
netstandard2.0netstandard2.1

README

Testably.Abstractions.FileSystem.Interface

Nuget Build Quality Gate Status Coverage

File-system interface for Testably.Abstractions: defines IFileSystem (and its subtypes) in the System.IO.Abstractions namespace, making it source-compatible with TestableIO.System.IO.Abstractions.

Full documentation: docs.testably.org/Abstractions

Installation

dotnet add package Testably.Abstractions.FileSystem.Interface

Most users install Testably.Abstractions (production) and Testably.Abstractions.Testing (tests) instead; both pull this package in transitively. Reach for this package directly only if you need just the file-system interface, without ITimeSystem / IRandomSystem.

Features

IFileSystem mirrors System.IO (File, Directory, FileInfo, DirectoryInfo, FileStream, Path, DriveInfo, FileSystemWatcher, FileVersionInfo). Constructors are exposed as factory methods (e.g. fileSystem.FileInfo.New(path)).

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 7 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.