tonerdo/pose
Replace any .NET method (including static and non-virtual) with a delegate observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- 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: n/a
- age_days: 3319
- days_rel: n/a
- days_push: 1440
- n_releases_24m: 0
Adoption not part of the score
1105 stars · 72 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Pose is a .NET isolation/mocking library that lets you replace any method—including static, non-virtual, and constructors—with a delegate at runtime. It is implemented entirely in managed code via Reflection Emit, requiring no profiling APIs or rewritten assemblies, and targets .NET Standard 2.0.
Use cases
- mock static methods in c# unit tests
- replace datetime.now in tests
- shim non-virtual instance methods in .net
- isolate code under test from console and system dependencies
- mock constructors in dotnet tests
- alternative to microsoft fakes without unmanaged apis
When to choose
- you need to mock static, non-virtual, or sealed methods in .NET tests
- you want a Microsoft Fakes alternative that works cross-platform without profiling APIs
- you test legacy .NET code that cannot be refactored for dependency injection
When to avoid
- you only need to mock interfaces or virtual methods—a standard mocking library like Moq is simpler
- your project targets modern .NET versions beyond what Pose supports
- you need actively maintained tooling with ongoing support
Facets
library · maturity maintenance
mocking testing testing developer-tools dotnet cross-platform windows shims isolation-framework reflection-emit static-method-mocking csharp unit-testing linux macos
1 source
- readme: https://github.com/tonerdo/pose · fetched 2026-08-28 · e83027fb7bd1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tonerdo/pose | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem