Ross ROSS = Recommend OSS · open-source software intelligence for agents

devlooped/moq

The most popular and friendly mocking framework for .NET observed · 2026-08-28

github.com/devlooped/moq · C# · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

78/100

  • Activity 98
  • Release rhythm 40
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 3
  • age_days: 5288
  • days_rel: 726
  • days_push: 13
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

6403 stars · 836 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Moq is the most popular mocking framework for .NET, letting developers create mock objects from interfaces and classes using lambda expressions and LINQ expression trees. It provides a simple, type-safe API for setting up behavior and verifying interactions in unit tests.

Use cases

  • mock interfaces and classes in .NET unit tests
  • verify method calls with expected arguments in C# tests
  • set up return values for dependencies in TDD
  • replace hand-written test fakes with dynamic mocks
  • use LINQ expressions to create succinct mock setups

When to choose

  • you're writing unit tests in C# or other .NET languages
  • you want a friendly, low-barrier mocking API with strong typing
  • you prefer state-based or classic TDD with interaction verification
  • you want the de facto standard mocking library for .NET

When to avoid

  • you're not developing on the .NET platform
  • you need integration or end-to-end testing rather than unit-test isolation
  • you prefer a different mocking style such as NSubstitute or fake providers

Facets

library · maturity active

mocking testing testing developer-tools dotnet cross-platform csharp unit-testing tdd linq-to-mocks nuget

1 source

Member repositories

RepositoryRoleHealth v2
devlooped/moqmain78

For agents

markdown · JSON · MCP: product_card(name="devlooped/moq")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem