Verify.TestableIO.System.IO.Abstractions

March 6, 2026 ยท View on GitHub

Discussions Build status NuGet Status

Extends Verify to allow verification of TestableIO.System.IO.Abstractions bits.

See Milestones for release notes.

Sponsors

Entity Framework Extensions

Entity Framework Extensions is a major sponsor and is proud to contribute to the development this project.

Entity Framework Extensions

Developed using JetBrains IDEs

JetBrains logo.

NuGet

Usage

[ModuleInitializer]
public static void Initialize() =>
    VerifyTestableIOSystemIOAbstractions.Initialize();

snippet source | anchor

[Test]
public async Task Usage()
{
    IFileSystem fileSystem = new FileSystem();
    var fileInfo = fileSystem.FileInfo.New(@"C:\temp\temp.txt");
    await Verify(fileInfo);
}

snippet source | anchor

Results in:

C:\temp\temp.txt

snippet source | anchor