FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

VerifyTests/Verify.TestableIO.System.IO.Abstractions: Extends Verify to allow verification of TestableIO.System.IO.Abstractions bits. · GitHub

Repository files navigation

Verify.TestableIO.System.IO.Abstractions

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.

Developed using JetBrains IDEs

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

About

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

Resources

Code of conduct

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL