Moq
NuGetv4.20.72Moq 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
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
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.
Release history
No releases in the last two years, typically about 38 days apart.
| Version | Published | License |
|---|---|---|
| 4.20.72latest | 2 years ago | BSD-3-Clause |
| 4.20.70 | 2 years ago | BSD-3-Clause |
| 4.20.69 | 3 years ago | BSD-3-Clause |
| 4.18.4 | 3 years ago | BSD-3-Clause |
| 4.18.3 | 3 years ago | BSD-3-Clause |
| 4.18.2 | 4 years ago | BSD-3-Clause |
| 4.18.1 | 4 years ago | BSD-3-Clause |
| 4.18.0 | 4 years ago | BSD-3-Clause |
| 4.17.2 | 4 years ago | BSD-3-Clause |
| 4.17.1 | 4 years ago | BSD-3-Clause |
| 4.16.1 | 5 years ago | BSD-3-Clause |
| 4.16.0 | 5 years ago | BSD-3-Clause |
| 4.15.2 | 5 years ago | BSD-3-Clause |
| 4.15.1 | 5 years ago | BSD-3-Clause |
| 4.14.7 | 5 years ago | BSD-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
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.