Testably.Abstractions.FileSystem.Interface 9.0.0-pre.2
This library contains the abstraction interfaces for Testably.Abstractions, which allow replacing system dependencies:
- The
IFileSystem
interface abstracts away all I/O-related functionality from theSystem.IO
namespace:
Static methods are directly implemented on theIFileSystem
interface. Constructors are implemented as factory methods, e.g.IFileSystem.FileInfo.New(string)
instead ofnew FileInfo(string)
. - The
ITimeSystem
interface abstracts away time-related functionality:
DateTime
methods give access to the current time,Thread
allows replacingThread.Sleep
andTask
allows replacingTask.Delay
. - The
IRandomSystem
interface abstracts away functionality related to randomness:
Random
methods implement a thread-safe Shared instance also under .NET Framework andGuid
methods allow creating new GUIDs.
Showing the top 20 packages that depend on Testably.Abstractions.FileSystem.Interface.
Packages | Downloads |
---|---|
TestableIO.System.IO.Abstractions
A set of abstractions to help make file system interactions testable.
|
4 |
TestableIO.System.IO.Abstractions.Wrappers
A set of abstractions to help make file system interactions testable.
|
4 |
TestableIO.System.IO.Abstractions
A set of abstractions to help make file system interactions testable.
|
3 |
.NET 6.0
- No dependencies.
.NET 8.0
- No dependencies.
.NET 9.0
- No dependencies.
.NET Standard 2.0
- No dependencies.
.NET Standard 2.1
- No dependencies.
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 4 | 02/26/2025 |
9.0.0-pre.2 | 2 | 02/26/2025 |
9.0.0-pre.1 | 2 | 02/26/2025 |
0.2.0-pre.1 | 3 | 02/26/2025 |
0.1.0 | 3 | 02/26/2025 |