TestableIO/System.IO.Abstractions
Just like System.Web.Abstractions, but for System.IO. Yay for testable IO access! observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 99
- Release rhythm 92
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 22.0
- age_days: 5264
- days_rel: 52
- days_push: 8
- n_releases_24m: 19
Adoption not part of the score
1627 stars · 261 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A .NET library providing an injectable abstraction (IFileSystem) over System.IO so file access code can be tested. It mirrors the System.IO API and ships test helpers like a mock file system.
Use cases
- unit test code that reads and writes files
- inject a mock file system into .NET components
- avoid touching the real disk in tests
- abstract System.IO calls behind an interface
- test file and directory logic with TDD
When to choose
- you write C#/.NET code that does file IO and want it testable
- you want a drop-in API-compatible wrapper around System.IO
- you need in-memory mock file system helpers for tests
When to avoid
- your code has no file system interaction
- you need a fully faithful emulation of real file system behavior
- you are not on .NET
Facets
library · maturity active
testing mocking file-system testing developer-tools files dotnet cross-platform tdd dependency-injection c-sharp unit-testing filesystem-abstraction
3 sources
- readme: https://github.com/TestableIO/System.IO.Abstractions · fetched 2026-08-28 · c55489301ed1
- homepage: http://www.nuget.org/packages/System.IO.Abstractions · fetched 2026-08-29 · da09e946134d
- site_page: https://www.nuget.org/policies/About · fetched 2026-08-29 · a113b8a074c9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| TestableIO/System.IO.Abstractions | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="TestableIO/System.IO.Abstractions")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem