Static dependencies, ready for deterministic tests.
C# testability
Generates wrapper interfaces, default implementations, and DI service registration code for untestable static dependencies.
When to use it
Use it after identifying statics to wrap, when replacing statics with injected abstractions, or when adopting the listed abstractions.
Give it a project, static category, and target framework; it generates or guides the required abstraction, composition, and deterministic test artifacts in the project.
What you provide
This skill
System.IO.Abstractions
Installs System.IO.Abstractions
System.IO.Abstractions.TestingHelpers
Installs filesystem testing helpers
The package is required when adopting TimeProvider on .NET versions before .NET 8.
The testing package is required for the FakeTimeProvider test path.
The package is required for the established filesystem-wrapper adoption path.
The package is required to test filesystem consumers with MockFileSystem.