Unit Testing C# File Access Code with System.IO.Abstractions

added by DotNetKicks
10/17/2018 3:39:21 AM

2 Kicks, 243 Views

It can be difficult to write unit tests for code that accesses the file system. It's possible to write integration tests that read in an actual file from the file system, do some processing, and check the resultant output file (or result) for correctness.


0 comments