</>PackageGraphPackageGraph

Moq

NuGetv4.20.72

Moq is the most popular and friendly mocking framework for .NET.

Adopt with care

Moq is usable, with caveats. Last published 733 days ago. Pulls in 26 transitive packages (at least — some of the tree is still being crawled).

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • DMaintenance: grade D, Poor — a real concern.

    Last published 733 days ago.

  • CWeight: grade C, Fair — worth a look.

    Pulls in 26 transitive packages (at least — some of the tree is still being crawled).

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    BSD-3-Clause — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding Moq to a project.

2
Direct dependencies

Runtime packages this one declares itself.

26
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

4
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

Apache-2.0MIT

Every license you inherit by installing Moq, not just its own. Check this before a legal review, not after.

Compatibility

.NET
No constraint declared

Dependencies

Declared by Moq v4.20.72. Runtime dependencies are installed with the package; dev dependencies are not.

Relationship graph

Dependencies (left) and dependents (right) of Moq.

Castle.CoreSystem.Threading.…Moq
Moq dependencies dependents

Release history

No releases in the last two years, typically about 38 days apart.

Recent versions of Moq
VersionPublishedLicense
4.20.72latest2 years agoBSD-3-Clause
4.20.702 years agoBSD-3-Clause
4.20.693 years agoBSD-3-Clause
4.18.43 years agoBSD-3-Clause
4.18.33 years agoBSD-3-Clause
4.18.24 years agoBSD-3-Clause
4.18.14 years agoBSD-3-Clause
4.18.04 years agoBSD-3-Clause
4.17.24 years agoBSD-3-Clause
4.17.14 years agoBSD-3-Clause
4.16.15 years agoBSD-3-Clause
4.16.05 years agoBSD-3-Clause
4.15.25 years agoBSD-3-Clause
4.15.15 years agoBSD-3-Clause
4.14.75 years agoBSD-3-Clause

Overview

Moq is an NuGet package that moq is the most popular and friendly mocking framework for .NET. The latest version is 4.20.72, released under the BSD-3-Clause license.

Who should use it

Teams working in the NuGet ecosystem who need moq is the most popular and friendly mocking framework for .NET and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your NuGet stack.

Pros

  • Clear open-source license (BSD-3-Clause).
  • Lean dependency tree (2 direct dependencies).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use Moq?

Moq is usable, with caveats. Last published 733 days ago. Pulls in 26 transitive packages (at least — some of the tree is still being crawled).

How do I install Moq?

Run `dotnet add package Moq` to add Moq to your NuGet project.

How many dependencies does Moq have?

Moq declares 2 direct dependencies and pulls in 26 packages in total once its runtime tree is resolved.

What license is Moq released under?

Moq is distributed under the BSD-3-Clause license. Its dependency tree also includes: Apache-2.0, MIT.

Is Moq still maintained?

The most recent release of Moq (v4.20.72) was published 2 years ago.