Testably.Abstractions.FileSystem.Interface 0.2.0-pre.1

Testably.Abstractions Nuget Build Quality Gate Status Coverage Mutation testing badge

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 the System.IO namespace:
    Static methods are directly implemented on the IFileSystem interface. Constructors are implemented as factory methods, e.g. IFileSystem.FileInfo.New(string) instead of new FileInfo(string).
  • The ITimeSystem interface abstracts away time-related functionality:
    DateTime methods give access to the current time, Thread allows replacing Thread.Sleep and Task allows replacing Task.Delay.
  • The IRandomSystem interface abstracts away functionality related to randomness:
    Random methods implement a thread-safe Shared instance also under .NET Framework and Guid methods allow creating new GUIDs.

Showing the top 20 packages that depend on Testably.Abstractions.FileSystem.Interface.

Packages Downloads
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.
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 3 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