Skip to content

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

License

Notifications You must be signed in to change notification settings

VerifyTests/Verify.TestableIO.System.IO.Abstractions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Verify.TestableIO.System.IO.Abstractions

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

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

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Contributors 2

  •  
  •  

Languages